contract代码上传
This commit is contained in:
parent
37b80dee16
commit
274a13dec1
@ -5,11 +5,11 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/fonchain/fonchain-artistinfo/cmd/internal/logic"
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
contract "github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
)
|
||||
|
||||
type ContractProvider struct {
|
||||
contract.UnimplementedContractServer
|
||||
contract.UnimplementedArtistContractServer
|
||||
contractLogic *logic.Contract
|
||||
}
|
||||
|
||||
@ -53,13 +53,13 @@ func (c *ContractProvider) FinishContract(ctx context.Context, req *contract.Fin
|
||||
return rep, nil
|
||||
}
|
||||
|
||||
func (c *ContractProvider) ContractTxList(ctx context.Context, req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error) {
|
||||
fmt.Println("第一处")
|
||||
if rep, err = c.contractLogic.ContractTxList(req); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return rep, nil
|
||||
}
|
||||
// func (c *ContractProvider) ContractTxList(ctx context.Context, req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error) {
|
||||
// fmt.Println("第一处")
|
||||
// if rep, err = c.contractLogic.ContractTxList(req); err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// return rep, nil
|
||||
// }
|
||||
|
||||
// func (c *ContractProvider) ContractList(ctx context.Context, req *contract.ContractListRequest) (rep *contract.ContractListRespond, err error) {
|
||||
// fmt.Println("第一处")
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/fonchain/fonchain-artistinfo/cmd/model"
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
contract "github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
db "github.com/fonchain/fonchain-artistinfo/pkg/db"
|
||||
"github.com/fonchain/fonchain-artistinfo/pkg/m"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/artist"
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/artistInfoUser"
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/artwork"
|
||||
"github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
contract "github.com/fonchain/fonchain-artistinfo/pb/contract"
|
||||
contractMicroservice "github.com/fonchain/fonchain-artistinfo/pb/contract_microservice"
|
||||
db "github.com/fonchain/fonchain-artistinfo/pkg/db"
|
||||
"github.com/fonchain/fonchain-artistinfo/pkg/m"
|
||||
@ -28,7 +28,7 @@ type IContract interface {
|
||||
ContractList(req *contract.ContractListRequest) (rep *contract.ContractListRespond, err error)
|
||||
SignContract(req *contract.SignContractRequest) (rep *contract.SignContractRespond, err error)
|
||||
FinishContract(req *contract.FinishContractRequest) (rep *contract.FinishContractRespond, err error)
|
||||
ContractTxList(req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error)
|
||||
// ContractTxList(req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error)
|
||||
|
||||
// ContractList(req *contract.ContractListRequest) (rep *contract.ContractListRespond, err error)
|
||||
// UpdateContract(req *contract.UpdateContractRequest) (rep *contract.UpdateContractRespond, err error)
|
||||
@ -627,35 +627,41 @@ func (a *Contract) FinishContract(req *contract.FinishContractRequest) (rep *con
|
||||
return
|
||||
}
|
||||
|
||||
func (a *Contract) ContractTxList(req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error) {
|
||||
// func (a *Contract) ContractTxList(req *contract.ContractTxListRequest) (rep *contract.ContractTxListRespond, err error) {
|
||||
|
||||
rep = &contract.ContractTxListRespond{}
|
||||
var datas []*contract.Contracts
|
||||
// rep = &contract.ContractTxListRespond{}
|
||||
// var datas []*contract.Contracts
|
||||
|
||||
artistDetailResponse, _, err := GetArtistInfoById(req.ID)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
// artistDetailResponse, _, err := GetArtistInfoById(req.ID)
|
||||
// if err != nil {
|
||||
// return
|
||||
// }
|
||||
|
||||
contracts, err := dao.ContractTxList(artistDetailResponse.ProfileInfo.Uid, req.State)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
data := &contract.Contracts{}
|
||||
for _, v := range contracts {
|
||||
data.ArtistUid = v.ArtistUid
|
||||
data.ArtworkUid = v.ArtworkUid
|
||||
data.ContractId = v.ContractId
|
||||
data.TransactionId = v.TransactionId
|
||||
data.Type = v.Type
|
||||
data.ViewUrl = v.ViewUrl
|
||||
data.DownloadUrl = v.DownloadUrl
|
||||
data.
|
||||
}
|
||||
// contracts, err := dao.ContractTxList(artistDetailResponse.ProfileInfo.Uid, req.State)
|
||||
// if err != nil {
|
||||
// return
|
||||
// }
|
||||
|
||||
return
|
||||
// data := &contract.Contracts{}
|
||||
// for _, v := range contracts {
|
||||
// data.ArtistUid = v.ArtistUid
|
||||
// data.ArtworkUid = v.ArtworkUid
|
||||
// data.ContractId = v.ContractId
|
||||
// data.TransactionId = v.TransactionId
|
||||
// data.Type = v.Type
|
||||
// data.ViewUrl = v.ViewUrl
|
||||
// data.DownloadUrl = v.DownloadUrl
|
||||
// //时间戳转时间
|
||||
// data.ExpirationTime = time.Unix(int64(v.CreatedAt), 0).Format("2006/01/02 15:04:05")
|
||||
// data.SignTime = v.SignTime
|
||||
// datas = append(datas, data)
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
// rep.Data = datas
|
||||
|
||||
// return
|
||||
// }
|
||||
|
||||
// 根据画作uid获取画作信息
|
||||
func GetArtworkProfileByArtworkUid(artworkUid string) (artworkProfileInfo *artwork.ArtworkDetailResponse, err error) {
|
||||
|
@ -17,6 +17,8 @@ type Contract struct {
|
||||
Status int32 `gorm:"column:status;default:2;comment:2=锁定 3=解锁" json:"status" ` //跟随用户的锁定和解锁状态,用于控制数据的展示
|
||||
LockTime string `gorm:"column:lock_time;comment:锁定时间" json:"lockTime"`
|
||||
SignTime string `gorm:"column:sign_time;comment:签署时间" json:"sign_time"`
|
||||
BatchId int32 `gorm:"column:batch_id;comment:批次ID" json:"batch_id"`
|
||||
BatchName string `gorm:"column:batch_name;comment:批次名" json:"batch_name"`
|
||||
CreatedAt int32 `gorm:"column:created_at;autoCreateTime"`
|
||||
UpdatedAt int32 `gorm:"column:updated_at;autoCreateTime"`
|
||||
DeletedAt soft_delete.DeletedAt
|
||||
|
@ -4,7 +4,7 @@
|
||||
// protoc v3.21.8
|
||||
// source: contract.proto
|
||||
|
||||
package contract
|
||||
package artistContract
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
@ -35,8 +35,9 @@ type Contracts struct {
|
||||
DownloadUrl string `protobuf:"bytes,8,opt,name=DownloadUrl,json=download_url,proto3" json:"DownloadUrl,omitempty"`
|
||||
State int32 `protobuf:"varint,9,opt,name=State,json=state,proto3" json:"State,omitempty"`
|
||||
Status int32 `protobuf:"varint,10,opt,name=Status,json=status,proto3" json:"Status,omitempty"`
|
||||
LockTime string `protobuf:"bytes,11,opt,name=LockTime,json=lock_time,proto3" json:"LockTime,omitempty"`
|
||||
SignTime string `protobuf:"bytes,12,opt,name=SignTime,json=sign_time,proto3" json:"SignTime,omitempty"`
|
||||
ExpirationTime string `protobuf:"bytes,11,opt,name=ExpirationTime,json=expiration_time,proto3" json:"ExpirationTime,omitempty"`
|
||||
LockTime string `protobuf:"bytes,12,opt,name=LockTime,json=lock_time,proto3" json:"LockTime,omitempty"`
|
||||
SignTime string `protobuf:"bytes,13,opt,name=SignTime,json=sign_time,proto3" json:"SignTime,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Contracts) Reset() {
|
||||
@ -141,6 +142,13 @@ func (x *Contracts) GetStatus() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *Contracts) GetExpirationTime() string {
|
||||
if x != nil {
|
||||
return x.ExpirationTime
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Contracts) GetLockTime() string {
|
||||
if x != nil {
|
||||
return x.LockTime
|
||||
@ -1228,175 +1236,185 @@ var File_contract_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_contract_proto_rawDesc = []byte{
|
||||
0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0xf0, 0x02, 0x0a, 0x09, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41,
|
||||
0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72,
|
||||
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||||
0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0d,
|
||||
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x07, 0x56, 0x69, 0x65, 0x77, 0x55,
|
||||
0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x75,
|
||||
0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72,
|
||||
0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
|
||||
0x64, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
|
||||
0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
||||
0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x12, 0x1b, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x6b, 0x0a,
|
||||
0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74,
|
||||
0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73,
|
||||
0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
||||
0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f,
|
||||
0x72, 0x6b, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x29, 0x0a, 0x15, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x5e, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
|
||||
0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64,
|
||||
0x12, 0x27, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
||||
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x6b, 0x0a, 0x13, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x12, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x22, 0x99, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, 0x21,
|
||||
0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x75, 0x69,
|
||||
0x64, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64,
|
||||
0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x75, 0x69,
|
||||
0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f,
|
||||
0x69, 0x64, 0x12, 0x25, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
||||
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70,
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a,
|
||||
0x07, 0x56, 0x69, 0x65, 0x77, 0x55, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x76, 0x69, 0x65, 0x77, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64,
|
||||
0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x53,
|
||||
0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
|
||||
0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x27, 0x0a, 0x0e, 0x45, 0x78, 0x70,
|
||||
0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x12,
|
||||
0x1b, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x6b, 0x0a, 0x15,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74,
|
||||
0x5f, 0x75, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55,
|
||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72,
|
||||
0x6b, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x29, 0x0a, 0x15, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x6d, 0x73, 0x67, 0x22, 0x5e, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1d, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x64, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61,
|
||||
0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x03, 0x6e, 0x75, 0x6d, 0x22, 0x5a, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12,
|
||||
0x2d, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
||||
0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67,
|
||||
0x22, 0x6b, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53,
|
||||
0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
|
||||
0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x56, 0x0a,
|
||||
0x13, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
|
||||
0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x22, 0x42, 0x0a, 0x13, 0x53, 0x69, 0x67,
|
||||
0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64,
|
||||
0x12, 0x19, 0x0a, 0x07, 0x4a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x08, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x4d,
|
||||
0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x3d, 0x0a,
|
||||
0x15, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
|
||||
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74,
|
||||
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x15,
|
||||
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x30, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74,
|
||||
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x73, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x6d, 0x0a, 0x15, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61,
|
||||
0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x50, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12,
|
||||
0x27, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
||||
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x53,
|
||||
0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c,
|
||||
0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x6d, 0x6c,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x22, 0x42,
|
||||
0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x07, 0x4a, 0x75, 0x6d, 0x70, 0x55, 0x72, 0x6c,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x75, 0x72, 0x6c,
|
||||
0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x58, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x64, 0x12, 0x2d, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x19, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d,
|
||||
0x73, 0x67, 0x22, 0x3d, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54,
|
||||
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
||||
0x64, 0x22, 0x55, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x2a, 0x0a, 0x08, 0x43, 0x6f,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63,
|
||||
0x73, 0x67, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xfd, 0x03, 0x0a, 0x15, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x61,
|
||||
0x72, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64,
|
||||
0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72,
|
||||
0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64,
|
||||
0x12, 0x24, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
||||
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61,
|
||||
0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x74,
|
||||
0x63, 0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x56, 0x69, 0x65, 0x77, 0x55, 0x72, 0x6c, 0x18, 0x0b, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x69, 0x65, 0x77, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73,
|
||||
0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78,
|
||||
0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x53, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x73, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x64, 0x22, 0x4f, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d,
|
||||
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0xd6, 0x04,
|
||||
0x0a, 0x0e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x12, 0x60, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x72, 0x74, 0x69,
|
||||
0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64,
|
||||
0x22, 0x00, 0x12, 0x66, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x12, 0x27, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x73, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x6d, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67,
|
||||
0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x52, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64,
|
||||
0x12, 0x27, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
||||
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x73, 0x52, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x24, 0x0a, 0x12, 0x47,
|
||||
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x22, 0xfd, 0x03, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49,
|
||||
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x55,
|
||||
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x43, 0x61, 0x72, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d,
|
||||
0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0a, 0x6d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x41,
|
||||
0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||||
0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x72, 0x61,
|
||||
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x09,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x56,
|
||||
0x69, 0x65, 0x77, 0x55, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x69,
|
||||
0x65, 0x77, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61,
|
||||
0x64, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||||
0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
|
||||
0x0e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
||||
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x69, 0x67, 0x6e, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x4f, 0x0a, 0x17, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72,
|
||||
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x19, 0x0a, 0x17, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0x88, 0x04, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x12, 0x54, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x10, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x12, 0x21, 0x2e,
|
||||
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x21, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e,
|
||||
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0c, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e,
|
||||
0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e,
|
||||
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
|
||||
0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f,
|
||||
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22,
|
||||
0x00, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x27, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x67, 0x6d,
|
||||
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0c, 0x43, 0x6f,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x74,
|
||||
0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x23, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0c, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x72,
|
||||
0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x53, 0x69, 0x67,
|
||||
0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64,
|
||||
0x22, 0x00, 0x12, 0x60, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x72,
|
||||
0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x6e,
|
||||
0x69, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x64, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
|
||||
0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e,
|
||||
0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x43,
|
||||
0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x42, 0x13, 0x5a, 0x11, 0x2e, 0x2f, 0x3b, 0x61, 0x72, 0x74,
|
||||
0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -1413,42 +1431,42 @@ func file_contract_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_contract_proto_goTypes = []interface{}{
|
||||
(*Contracts)(nil), // 0: contract.Contracts
|
||||
(*CreateContractRequest)(nil), // 1: contract.CreateContractRequest
|
||||
(*CreateContractRespond)(nil), // 2: contract.CreateContractRespond
|
||||
(*ContractListMgmtRequest)(nil), // 3: contract.ContractListMgmtRequest
|
||||
(*ContractListMgmtRespond)(nil), // 4: contract.ContractListMgmtRespond
|
||||
(*ContractListRequest)(nil), // 5: contract.ContractListRequest
|
||||
(*ContractListRespond)(nil), // 6: contract.ContractListRespond
|
||||
(*SignContractRequest)(nil), // 7: contract.SignContractRequest
|
||||
(*SignContractRespond)(nil), // 8: contract.SignContractRespond
|
||||
(*FinishContractRequest)(nil), // 9: contract.FinishContractRequest
|
||||
(*FinishContractRespond)(nil), // 10: contract.FinishContractRespond
|
||||
(*ContractTxListRequest)(nil), // 11: contract.ContractTxListRequest
|
||||
(*ContractTxListRespond)(nil), // 12: contract.ContractTxListRespond
|
||||
(*GetContractRequest)(nil), // 13: contract.GetContractRequest
|
||||
(*UpdateContractRequest)(nil), // 14: contract.UpdateContractRequest
|
||||
(*UpdateContractRespond)(nil), // 15: contract.UpdateContractRespond
|
||||
(*UpdateContractTxRequest)(nil), // 16: contract.UpdateContractTxRequest
|
||||
(*UpdateContractTxRespond)(nil), // 17: contract.UpdateContractTxRespond
|
||||
(*Contracts)(nil), // 0: artistContract.Contracts
|
||||
(*CreateContractRequest)(nil), // 1: artistContract.CreateContractRequest
|
||||
(*CreateContractRespond)(nil), // 2: artistContract.CreateContractRespond
|
||||
(*ContractListMgmtRequest)(nil), // 3: artistContract.ContractListMgmtRequest
|
||||
(*ContractListMgmtRespond)(nil), // 4: artistContract.ContractListMgmtRespond
|
||||
(*ContractListRequest)(nil), // 5: artistContract.ContractListRequest
|
||||
(*ContractListRespond)(nil), // 6: artistContract.ContractListRespond
|
||||
(*SignContractRequest)(nil), // 7: artistContract.SignContractRequest
|
||||
(*SignContractRespond)(nil), // 8: artistContract.SignContractRespond
|
||||
(*FinishContractRequest)(nil), // 9: artistContract.FinishContractRequest
|
||||
(*FinishContractRespond)(nil), // 10: artistContract.FinishContractRespond
|
||||
(*ContractTxListRequest)(nil), // 11: artistContract.ContractTxListRequest
|
||||
(*ContractTxListRespond)(nil), // 12: artistContract.ContractTxListRespond
|
||||
(*GetContractRequest)(nil), // 13: artistContract.GetContractRequest
|
||||
(*UpdateContractRequest)(nil), // 14: artistContract.UpdateContractRequest
|
||||
(*UpdateContractRespond)(nil), // 15: artistContract.UpdateContractRespond
|
||||
(*UpdateContractTxRequest)(nil), // 16: artistContract.UpdateContractTxRequest
|
||||
(*UpdateContractTxRespond)(nil), // 17: artistContract.UpdateContractTxRespond
|
||||
}
|
||||
var file_contract_proto_depIdxs = []int32{
|
||||
0, // 0: contract.ContractListMgmtRespond.Data:type_name -> contract.Contracts
|
||||
0, // 1: contract.ContractListRespond.Data:type_name -> contract.Contracts
|
||||
0, // 2: contract.FinishContractRespond.Contract:type_name -> contract.Contracts
|
||||
0, // 3: contract.ContractTxListRespond.Data:type_name -> contract.Contracts
|
||||
1, // 4: contract.Contract.CreateContract:input_type -> contract.CreateContractRequest
|
||||
3, // 5: contract.Contract.ContractListMgmt:input_type -> contract.ContractListMgmtRequest
|
||||
5, // 6: contract.Contract.ContractList:input_type -> contract.ContractListRequest
|
||||
7, // 7: contract.Contract.SignContract:input_type -> contract.SignContractRequest
|
||||
9, // 8: contract.Contract.FinishContract:input_type -> contract.FinishContractRequest
|
||||
11, // 9: contract.Contract.ContractTxList:input_type -> contract.ContractTxListRequest
|
||||
2, // 10: contract.Contract.CreateContract:output_type -> contract.CreateContractRespond
|
||||
4, // 11: contract.Contract.ContractListMgmt:output_type -> contract.ContractListMgmtRespond
|
||||
6, // 12: contract.Contract.ContractList:output_type -> contract.ContractListRespond
|
||||
8, // 13: contract.Contract.SignContract:output_type -> contract.SignContractRespond
|
||||
10, // 14: contract.Contract.FinishContract:output_type -> contract.FinishContractRespond
|
||||
12, // 15: contract.Contract.ContractTxList:output_type -> contract.ContractTxListRespond
|
||||
0, // 0: artistContract.ContractListMgmtRespond.Data:type_name -> artistContract.Contracts
|
||||
0, // 1: artistContract.ContractListRespond.Data:type_name -> artistContract.Contracts
|
||||
0, // 2: artistContract.FinishContractRespond.Contract:type_name -> artistContract.Contracts
|
||||
0, // 3: artistContract.ContractTxListRespond.Data:type_name -> artistContract.Contracts
|
||||
1, // 4: artistContract.ArtistContract.CreateContract:input_type -> artistContract.CreateContractRequest
|
||||
3, // 5: artistContract.ArtistContract.ContractListMgmt:input_type -> artistContract.ContractListMgmtRequest
|
||||
5, // 6: artistContract.ArtistContract.ContractList:input_type -> artistContract.ContractListRequest
|
||||
7, // 7: artistContract.ArtistContract.SignContract:input_type -> artistContract.SignContractRequest
|
||||
9, // 8: artistContract.ArtistContract.FinishContract:input_type -> artistContract.FinishContractRequest
|
||||
11, // 9: artistContract.ArtistContract.ContractTxList:input_type -> artistContract.ContractTxListRequest
|
||||
2, // 10: artistContract.ArtistContract.CreateContract:output_type -> artistContract.CreateContractRespond
|
||||
4, // 11: artistContract.ArtistContract.ContractListMgmt:output_type -> artistContract.ContractListMgmtRespond
|
||||
6, // 12: artistContract.ArtistContract.ContractList:output_type -> artistContract.ContractListRespond
|
||||
8, // 13: artistContract.ArtistContract.SignContract:output_type -> artistContract.SignContractRespond
|
||||
10, // 14: artistContract.ArtistContract.FinishContract:output_type -> artistContract.FinishContractRespond
|
||||
12, // 15: artistContract.ArtistContract.ContractTxList:output_type -> artistContract.ContractTxListRespond
|
||||
10, // [10:16] is the sub-list for method output_type
|
||||
4, // [4:10] is the sub-list for method input_type
|
||||
4, // [4:4] is the sub-list for extension type_name
|
||||
|
@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package contract;
|
||||
option go_package = "./;contract";
|
||||
package artistContract;
|
||||
option go_package = "./;artistContract";
|
||||
//$ protoc --proto_path=. --go_out=./api/contract --go-triple_out=./api/contract ./api/contract/contract.proto
|
||||
service Contract {
|
||||
service ArtistContract {
|
||||
rpc CreateContract (CreateContractRequest) returns (CreateContractRespond) {}
|
||||
rpc ContractListMgmt (ContractListMgmtRequest) returns (ContractListMgmtRespond) {}
|
||||
rpc ContractList (ContractListRequest) returns (ContractListRespond) {}
|
||||
@ -27,8 +27,9 @@ message Contracts{
|
||||
string DownloadUrl = 8 [json_name = "download_url"];
|
||||
int32 State = 9 [json_name = "state"];
|
||||
int32 Status = 10 [json_name = "status"];
|
||||
string LockTime = 11 [json_name = "lock_time"];
|
||||
string SignTime = 12 [json_name = "sign_time"];
|
||||
string ExpirationTime = 11 [json_name = "expiration_time"];
|
||||
string LockTime = 12 [json_name = "lock_time"];
|
||||
string SignTime = 13 [json_name = "sign_time"];
|
||||
}
|
||||
|
||||
message CreateContractRequest {
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: contract.proto
|
||||
|
||||
package contract
|
||||
package artistContract
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
|
@ -4,7 +4,7 @@
|
||||
// - protoc v3.21.8
|
||||
// source: contract.proto
|
||||
|
||||
package contract
|
||||
package artistContract
|
||||
|
||||
import (
|
||||
context "context"
|
||||
@ -24,10 +24,10 @@ import (
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc_go.SupportPackageIsVersion7
|
||||
|
||||
// ContractClient is the client API for Contract service.
|
||||
// ArtistContractClient is the client API for ArtistContract service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
type ContractClient interface {
|
||||
type ArtistContractClient interface {
|
||||
CreateContract(ctx context.Context, in *CreateContractRequest, opts ...grpc_go.CallOption) (*CreateContractRespond, common.ErrorWithAttachment)
|
||||
ContractListMgmt(ctx context.Context, in *ContractListMgmtRequest, opts ...grpc_go.CallOption) (*ContractListMgmtRespond, common.ErrorWithAttachment)
|
||||
ContractList(ctx context.Context, in *ContractListRequest, opts ...grpc_go.CallOption) (*ContractListRespond, common.ErrorWithAttachment)
|
||||
@ -36,11 +36,11 @@ type ContractClient interface {
|
||||
ContractTxList(ctx context.Context, in *ContractTxListRequest, opts ...grpc_go.CallOption) (*ContractTxListRespond, common.ErrorWithAttachment)
|
||||
}
|
||||
|
||||
type contractClient struct {
|
||||
type artistContractClient struct {
|
||||
cc *triple.TripleConn
|
||||
}
|
||||
|
||||
type ContractClientImpl struct {
|
||||
type ArtistContractClientImpl struct {
|
||||
CreateContract func(ctx context.Context, in *CreateContractRequest) (*CreateContractRespond, error)
|
||||
ContractListMgmt func(ctx context.Context, in *ContractListMgmtRequest) (*ContractListMgmtRespond, error)
|
||||
ContractList func(ctx context.Context, in *ContractListRequest) (*ContractListRespond, error)
|
||||
@ -49,119 +49,119 @@ type ContractClientImpl struct {
|
||||
ContractTxList func(ctx context.Context, in *ContractTxListRequest) (*ContractTxListRespond, error)
|
||||
}
|
||||
|
||||
func (c *ContractClientImpl) GetDubboStub(cc *triple.TripleConn) ContractClient {
|
||||
return NewContractClient(cc)
|
||||
func (c *ArtistContractClientImpl) GetDubboStub(cc *triple.TripleConn) ArtistContractClient {
|
||||
return NewArtistContractClient(cc)
|
||||
}
|
||||
|
||||
func (c *ContractClientImpl) XXX_InterfaceName() string {
|
||||
return "contract.Contract"
|
||||
func (c *ArtistContractClientImpl) XXX_InterfaceName() string {
|
||||
return "artistContract.ArtistContract"
|
||||
}
|
||||
|
||||
func NewContractClient(cc *triple.TripleConn) ContractClient {
|
||||
return &contractClient{cc}
|
||||
func NewArtistContractClient(cc *triple.TripleConn) ArtistContractClient {
|
||||
return &artistContractClient{cc}
|
||||
}
|
||||
|
||||
func (c *contractClient) CreateContract(ctx context.Context, in *CreateContractRequest, opts ...grpc_go.CallOption) (*CreateContractRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) CreateContract(ctx context.Context, in *CreateContractRequest, opts ...grpc_go.CallOption) (*CreateContractRespond, common.ErrorWithAttachment) {
|
||||
out := new(CreateContractRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractClient) ContractListMgmt(ctx context.Context, in *ContractListMgmtRequest, opts ...grpc_go.CallOption) (*ContractListMgmtRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) ContractListMgmt(ctx context.Context, in *ContractListMgmtRequest, opts ...grpc_go.CallOption) (*ContractListMgmtRespond, common.ErrorWithAttachment) {
|
||||
out := new(ContractListMgmtRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ContractListMgmt", in, out)
|
||||
}
|
||||
|
||||
func (c *contractClient) ContractList(ctx context.Context, in *ContractListRequest, opts ...grpc_go.CallOption) (*ContractListRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) ContractList(ctx context.Context, in *ContractListRequest, opts ...grpc_go.CallOption) (*ContractListRespond, common.ErrorWithAttachment) {
|
||||
out := new(ContractListRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ContractList", in, out)
|
||||
}
|
||||
|
||||
func (c *contractClient) SignContract(ctx context.Context, in *SignContractRequest, opts ...grpc_go.CallOption) (*SignContractRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) SignContract(ctx context.Context, in *SignContractRequest, opts ...grpc_go.CallOption) (*SignContractRespond, common.ErrorWithAttachment) {
|
||||
out := new(SignContractRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SignContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractClient) FinishContract(ctx context.Context, in *FinishContractRequest, opts ...grpc_go.CallOption) (*FinishContractRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) FinishContract(ctx context.Context, in *FinishContractRequest, opts ...grpc_go.CallOption) (*FinishContractRespond, common.ErrorWithAttachment) {
|
||||
out := new(FinishContractRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/FinishContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractClient) ContractTxList(ctx context.Context, in *ContractTxListRequest, opts ...grpc_go.CallOption) (*ContractTxListRespond, common.ErrorWithAttachment) {
|
||||
func (c *artistContractClient) ContractTxList(ctx context.Context, in *ContractTxListRequest, opts ...grpc_go.CallOption) (*ContractTxListRespond, common.ErrorWithAttachment) {
|
||||
out := new(ContractTxListRespond)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ContractTxList", in, out)
|
||||
}
|
||||
|
||||
// ContractServer is the server API for Contract service.
|
||||
// All implementations must embed UnimplementedContractServer
|
||||
// ArtistContractServer is the server API for ArtistContract service.
|
||||
// All implementations must embed UnimplementedArtistContractServer
|
||||
// for forward compatibility
|
||||
type ContractServer interface {
|
||||
type ArtistContractServer interface {
|
||||
CreateContract(context.Context, *CreateContractRequest) (*CreateContractRespond, error)
|
||||
ContractListMgmt(context.Context, *ContractListMgmtRequest) (*ContractListMgmtRespond, error)
|
||||
ContractList(context.Context, *ContractListRequest) (*ContractListRespond, error)
|
||||
SignContract(context.Context, *SignContractRequest) (*SignContractRespond, error)
|
||||
FinishContract(context.Context, *FinishContractRequest) (*FinishContractRespond, error)
|
||||
ContractTxList(context.Context, *ContractTxListRequest) (*ContractTxListRespond, error)
|
||||
mustEmbedUnimplementedContractServer()
|
||||
mustEmbedUnimplementedArtistContractServer()
|
||||
}
|
||||
|
||||
// UnimplementedContractServer must be embedded to have forward compatible implementations.
|
||||
type UnimplementedContractServer struct {
|
||||
// UnimplementedArtistContractServer must be embedded to have forward compatible implementations.
|
||||
type UnimplementedArtistContractServer struct {
|
||||
proxyImpl protocol.Invoker
|
||||
}
|
||||
|
||||
func (UnimplementedContractServer) CreateContract(context.Context, *CreateContractRequest) (*CreateContractRespond, error) {
|
||||
func (UnimplementedArtistContractServer) CreateContract(context.Context, *CreateContractRequest) (*CreateContractRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CreateContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractServer) ContractListMgmt(context.Context, *ContractListMgmtRequest) (*ContractListMgmtRespond, error) {
|
||||
func (UnimplementedArtistContractServer) ContractListMgmt(context.Context, *ContractListMgmtRequest) (*ContractListMgmtRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ContractListMgmt not implemented")
|
||||
}
|
||||
func (UnimplementedContractServer) ContractList(context.Context, *ContractListRequest) (*ContractListRespond, error) {
|
||||
func (UnimplementedArtistContractServer) ContractList(context.Context, *ContractListRequest) (*ContractListRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ContractList not implemented")
|
||||
}
|
||||
func (UnimplementedContractServer) SignContract(context.Context, *SignContractRequest) (*SignContractRespond, error) {
|
||||
func (UnimplementedArtistContractServer) SignContract(context.Context, *SignContractRequest) (*SignContractRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SignContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractServer) FinishContract(context.Context, *FinishContractRequest) (*FinishContractRespond, error) {
|
||||
func (UnimplementedArtistContractServer) FinishContract(context.Context, *FinishContractRequest) (*FinishContractRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FinishContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractServer) ContractTxList(context.Context, *ContractTxListRequest) (*ContractTxListRespond, error) {
|
||||
func (UnimplementedArtistContractServer) ContractTxList(context.Context, *ContractTxListRequest) (*ContractTxListRespond, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ContractTxList not implemented")
|
||||
}
|
||||
func (s *UnimplementedContractServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
func (s *UnimplementedArtistContractServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
s.proxyImpl = impl
|
||||
}
|
||||
|
||||
func (s *UnimplementedContractServer) XXX_GetProxyImpl() protocol.Invoker {
|
||||
func (s *UnimplementedArtistContractServer) XXX_GetProxyImpl() protocol.Invoker {
|
||||
return s.proxyImpl
|
||||
}
|
||||
|
||||
func (s *UnimplementedContractServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
||||
return &Contract_ServiceDesc
|
||||
func (s *UnimplementedArtistContractServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
||||
return &ArtistContract_ServiceDesc
|
||||
}
|
||||
func (s *UnimplementedContractServer) XXX_InterfaceName() string {
|
||||
return "contract.Contract"
|
||||
func (s *UnimplementedArtistContractServer) XXX_InterfaceName() string {
|
||||
return "artistContract.ArtistContract"
|
||||
}
|
||||
|
||||
func (UnimplementedContractServer) mustEmbedUnimplementedContractServer() {}
|
||||
func (UnimplementedArtistContractServer) mustEmbedUnimplementedArtistContractServer() {}
|
||||
|
||||
// UnsafeContractServer may be embedded to opt out of forward compatibility for this service.
|
||||
// Use of this interface is not recommended, as added methods to ContractServer will
|
||||
// UnsafeArtistContractServer may be embedded to opt out of forward compatibility for this service.
|
||||
// Use of this interface is not recommended, as added methods to ArtistContractServer will
|
||||
// result in compilation errors.
|
||||
type UnsafeContractServer interface {
|
||||
mustEmbedUnimplementedContractServer()
|
||||
type UnsafeArtistContractServer interface {
|
||||
mustEmbedUnimplementedArtistContractServer()
|
||||
}
|
||||
|
||||
func RegisterContractServer(s grpc_go.ServiceRegistrar, srv ContractServer) {
|
||||
s.RegisterService(&Contract_ServiceDesc, srv)
|
||||
func RegisterArtistContractServer(s grpc_go.ServiceRegistrar, srv ArtistContractServer) {
|
||||
s.RegisterService(&ArtistContract_ServiceDesc, srv)
|
||||
}
|
||||
|
||||
func _Contract_CreateContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_CreateContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -190,7 +190,7 @@ func _Contract_CreateContract_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contract_ContractListMgmt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_ContractListMgmt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractListMgmtRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -219,7 +219,7 @@ func _Contract_ContractListMgmt_Handler(srv interface{}, ctx context.Context, de
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contract_ContractList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_ContractList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractListRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -248,7 +248,7 @@ func _Contract_ContractList_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contract_SignContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_SignContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(SignContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -277,7 +277,7 @@ func _Contract_SignContract_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contract_FinishContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_FinishContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(FinishContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -306,7 +306,7 @@ func _Contract_FinishContract_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Contract_ContractTxList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _ArtistContract_ContractTxList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractTxListRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -335,36 +335,36 @@ func _Contract_ContractTxList_Handler(srv interface{}, ctx context.Context, dec
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// Contract_ServiceDesc is the grpc_go.ServiceDesc for Contract service.
|
||||
// ArtistContract_ServiceDesc is the grpc_go.ServiceDesc for ArtistContract service.
|
||||
// It's only intended for direct use with grpc_go.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
var Contract_ServiceDesc = grpc_go.ServiceDesc{
|
||||
ServiceName: "contract.Contract",
|
||||
HandlerType: (*ContractServer)(nil),
|
||||
var ArtistContract_ServiceDesc = grpc_go.ServiceDesc{
|
||||
ServiceName: "artistContract.ArtistContract",
|
||||
HandlerType: (*ArtistContractServer)(nil),
|
||||
Methods: []grpc_go.MethodDesc{
|
||||
{
|
||||
MethodName: "CreateContract",
|
||||
Handler: _Contract_CreateContract_Handler,
|
||||
Handler: _ArtistContract_CreateContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ContractListMgmt",
|
||||
Handler: _Contract_ContractListMgmt_Handler,
|
||||
Handler: _ArtistContract_ContractListMgmt_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ContractList",
|
||||
Handler: _Contract_ContractList_Handler,
|
||||
Handler: _ArtistContract_ContractList_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SignContract",
|
||||
Handler: _Contract_SignContract_Handler,
|
||||
Handler: _ArtistContract_SignContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FinishContract",
|
||||
Handler: _Contract_FinishContract_Handler,
|
||||
Handler: _ArtistContract_FinishContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ContractTxList",
|
||||
Handler: _Contract_ContractTxList_Handler,
|
||||
Handler: _ArtistContract_ContractTxList_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc_go.StreamDesc{},
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -16,12 +16,12 @@
|
||||
*/
|
||||
|
||||
syntax = "proto3";
|
||||
package contractMicroservice;
|
||||
package contract;
|
||||
//import "github.com/mwitkow/go-proto-validators/validator.proto";
|
||||
|
||||
option go_package = "./;contractMicroservice";
|
||||
option go_package = "./;contract";
|
||||
|
||||
service ContractMicroservice {
|
||||
service Contract {
|
||||
rpc RegisterPerson (RegisterPersonRequest) returns (RegisterResponse) {} //个人注册
|
||||
rpc PersonVerify (PersonVerifyRequest) returns (PersonVerifyResponse) {} //个人身份校验
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: contract.proto
|
||||
// source: api/contract/contract.proto
|
||||
|
||||
package contractMicroservice
|
||||
package contract
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.8
|
||||
// - protoc v3.21.8
|
||||
// source: contract.proto
|
||||
// - protoc v3.21.12
|
||||
// source: api/contract/contract.proto
|
||||
|
||||
package contractMicroservice
|
||||
package contract
|
||||
|
||||
import (
|
||||
context "context"
|
||||
@ -24,10 +24,10 @@ import (
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc_go.SupportPackageIsVersion7
|
||||
|
||||
// ContractMicroserviceClient is the client API for ContractMicroservice service.
|
||||
// ContractClient is the client API for Contract service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
type ContractMicroserviceClient interface {
|
||||
type ContractClient interface {
|
||||
RegisterPerson(ctx context.Context, in *RegisterPersonRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment)
|
||||
PersonVerify(ctx context.Context, in *PersonVerifyRequest, opts ...grpc_go.CallOption) (*PersonVerifyResponse, common.ErrorWithAttachment)
|
||||
RegisterOrg(ctx context.Context, in *RegisterOrgRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment)
|
||||
@ -51,11 +51,11 @@ type ContractMicroserviceClient interface {
|
||||
CancelExtSignAuto(ctx context.Context, in *CancelExtSignAutoRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment)
|
||||
}
|
||||
|
||||
type contractMicroserviceClient struct {
|
||||
type contractClient struct {
|
||||
cc *triple.TripleConn
|
||||
}
|
||||
|
||||
type ContractMicroserviceClientImpl struct {
|
||||
type ContractClientImpl struct {
|
||||
RegisterPerson func(ctx context.Context, in *RegisterPersonRequest) (*RegisterResponse, error)
|
||||
PersonVerify func(ctx context.Context, in *PersonVerifyRequest) (*PersonVerifyResponse, error)
|
||||
RegisterOrg func(ctx context.Context, in *RegisterOrgRequest) (*RegisterResponse, error)
|
||||
@ -79,148 +79,148 @@ type ContractMicroserviceClientImpl struct {
|
||||
CancelExtSignAuto func(ctx context.Context, in *CancelExtSignAutoRequest) (*JumpCommonResponse, error)
|
||||
}
|
||||
|
||||
func (c *ContractMicroserviceClientImpl) GetDubboStub(cc *triple.TripleConn) ContractMicroserviceClient {
|
||||
return NewContractMicroserviceClient(cc)
|
||||
func (c *ContractClientImpl) GetDubboStub(cc *triple.TripleConn) ContractClient {
|
||||
return NewContractClient(cc)
|
||||
}
|
||||
|
||||
func (c *ContractMicroserviceClientImpl) XXX_InterfaceName() string {
|
||||
return "contractMicroservice.ContractMicroservice"
|
||||
func (c *ContractClientImpl) XXX_InterfaceName() string {
|
||||
return "contract.Contract"
|
||||
}
|
||||
|
||||
func NewContractMicroserviceClient(cc *triple.TripleConn) ContractMicroserviceClient {
|
||||
return &contractMicroserviceClient{cc}
|
||||
func NewContractClient(cc *triple.TripleConn) ContractClient {
|
||||
return &contractClient{cc}
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) RegisterPerson(ctx context.Context, in *RegisterPersonRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) RegisterPerson(ctx context.Context, in *RegisterPersonRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment) {
|
||||
out := new(RegisterResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RegisterPerson", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) PersonVerify(ctx context.Context, in *PersonVerifyRequest, opts ...grpc_go.CallOption) (*PersonVerifyResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) PersonVerify(ctx context.Context, in *PersonVerifyRequest, opts ...grpc_go.CallOption) (*PersonVerifyResponse, common.ErrorWithAttachment) {
|
||||
out := new(PersonVerifyResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/PersonVerify", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) RegisterOrg(ctx context.Context, in *RegisterOrgRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) RegisterOrg(ctx context.Context, in *RegisterOrgRequest, opts ...grpc_go.CallOption) (*RegisterResponse, common.ErrorWithAttachment) {
|
||||
out := new(RegisterResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RegisterOrg", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) CompanyVerify(ctx context.Context, in *CompanyVerifyRequest, opts ...grpc_go.CallOption) (*PersonVerifyResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) CompanyVerify(ctx context.Context, in *CompanyVerifyRequest, opts ...grpc_go.CallOption) (*PersonVerifyResponse, common.ErrorWithAttachment) {
|
||||
out := new(PersonVerifyResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CompanyVerify", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) FindPersonCertInfo(ctx context.Context, in *FindCertInfo, opts ...grpc_go.CallOption) (*PersonCertInfoResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) FindPersonCertInfo(ctx context.Context, in *FindCertInfo, opts ...grpc_go.CallOption) (*PersonCertInfoResponse, common.ErrorWithAttachment) {
|
||||
out := new(PersonCertInfoResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/FindPersonCertInfo", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) FindCompanyCertInfo(ctx context.Context, in *FindCertInfo, opts ...grpc_go.CallOption) (*CompanyCertInfoResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) FindCompanyCertInfo(ctx context.Context, in *FindCertInfo, opts ...grpc_go.CallOption) (*CompanyCertInfoResponse, common.ErrorWithAttachment) {
|
||||
out := new(CompanyCertInfoResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/FindCompanyCertInfo", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) ApplyCert(ctx context.Context, in *ApplyCertRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) ApplyCert(ctx context.Context, in *ApplyCertRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(CommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ApplyCert", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) AddSignature(ctx context.Context, in *AddSignRequest, opts ...grpc_go.CallOption) (*AddSignResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) AddSignature(ctx context.Context, in *AddSignRequest, opts ...grpc_go.CallOption) (*AddSignResponse, common.ErrorWithAttachment) {
|
||||
out := new(AddSignResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AddSignature", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) CustomSign(ctx context.Context, in *CustomSignRequest, opts ...grpc_go.CallOption) (*CustomSignResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) CustomSign(ctx context.Context, in *CustomSignRequest, opts ...grpc_go.CallOption) (*CustomSignResponse, common.ErrorWithAttachment) {
|
||||
out := new(CustomSignResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CustomSign", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) UploadTemplate(ctx context.Context, in *UploadTemplateRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) UploadTemplate(ctx context.Context, in *UploadTemplateRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(CommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UploadTemplate", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) UploadDocs(ctx context.Context, in *UploadDocsRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) UploadDocs(ctx context.Context, in *UploadDocsRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(CommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UploadDocs", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) GenerateContract(ctx context.Context, in *GenerateContractRequest, opts ...grpc_go.CallOption) (*ViewCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) GenerateContract(ctx context.Context, in *GenerateContractRequest, opts ...grpc_go.CallOption) (*ViewCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(ViewCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GenerateContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) ExtSignAuto(ctx context.Context, in *ExtSignAutoRequest, opts ...grpc_go.CallOption) (*ViewCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) ExtSignAuto(ctx context.Context, in *ExtSignAutoRequest, opts ...grpc_go.CallOption) (*ViewCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(ViewCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ExtSignAuto", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) BeforeAuthSign(ctx context.Context, in *BeforeAuthSignRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) BeforeAuthSign(ctx context.Context, in *BeforeAuthSignRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(JumpCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BeforeAuthSign", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) ExtSign(ctx context.Context, in *ExtSignRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) ExtSign(ctx context.Context, in *ExtSignRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(JumpCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ExtSign", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) ViewContract(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) ViewContract(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(JumpCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ViewContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) DownLoadContract(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) DownLoadContract(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(JumpCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DownLoadContract", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) ContractFiling(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) ContractFiling(ctx context.Context, in *ContractRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(CommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ContractFiling", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) GetPdfTemplateKeys(ctx context.Context, in *PdfTemplateKeysRequest, opts ...grpc_go.CallOption) (*PdfTemplateKeysResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) GetPdfTemplateKeys(ctx context.Context, in *PdfTemplateKeysRequest, opts ...grpc_go.CallOption) (*PdfTemplateKeysResponse, common.ErrorWithAttachment) {
|
||||
out := new(PdfTemplateKeysResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetPdfTemplateKeys", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) AuthStatus(ctx context.Context, in *CustomerIdRequest, opts ...grpc_go.CallOption) (*AuthStatusResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) AuthStatus(ctx context.Context, in *CustomerIdRequest, opts ...grpc_go.CallOption) (*AuthStatusResponse, common.ErrorWithAttachment) {
|
||||
out := new(AuthStatusResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AuthStatus", in, out)
|
||||
}
|
||||
|
||||
func (c *contractMicroserviceClient) CancelExtSignAuto(ctx context.Context, in *CancelExtSignAutoRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
func (c *contractClient) CancelExtSignAuto(ctx context.Context, in *CancelExtSignAutoRequest, opts ...grpc_go.CallOption) (*JumpCommonResponse, common.ErrorWithAttachment) {
|
||||
out := new(JumpCommonResponse)
|
||||
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
||||
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CancelExtSignAuto", in, out)
|
||||
}
|
||||
|
||||
// ContractMicroserviceServer is the server API for ContractMicroservice service.
|
||||
// All implementations must embed UnimplementedContractMicroserviceServer
|
||||
// ContractServer is the server API for Contract service.
|
||||
// All implementations must embed UnimplementedContractServer
|
||||
// for forward compatibility
|
||||
type ContractMicroserviceServer interface {
|
||||
type ContractServer interface {
|
||||
RegisterPerson(context.Context, *RegisterPersonRequest) (*RegisterResponse, error)
|
||||
PersonVerify(context.Context, *PersonVerifyRequest) (*PersonVerifyResponse, error)
|
||||
RegisterOrg(context.Context, *RegisterOrgRequest) (*RegisterResponse, error)
|
||||
@ -242,106 +242,106 @@ type ContractMicroserviceServer interface {
|
||||
GetPdfTemplateKeys(context.Context, *PdfTemplateKeysRequest) (*PdfTemplateKeysResponse, error)
|
||||
AuthStatus(context.Context, *CustomerIdRequest) (*AuthStatusResponse, error)
|
||||
CancelExtSignAuto(context.Context, *CancelExtSignAutoRequest) (*JumpCommonResponse, error)
|
||||
mustEmbedUnimplementedContractMicroserviceServer()
|
||||
mustEmbedUnimplementedContractServer()
|
||||
}
|
||||
|
||||
// UnimplementedContractMicroserviceServer must be embedded to have forward compatible implementations.
|
||||
type UnimplementedContractMicroserviceServer struct {
|
||||
// UnimplementedContractServer must be embedded to have forward compatible implementations.
|
||||
type UnimplementedContractServer struct {
|
||||
proxyImpl protocol.Invoker
|
||||
}
|
||||
|
||||
func (UnimplementedContractMicroserviceServer) RegisterPerson(context.Context, *RegisterPersonRequest) (*RegisterResponse, error) {
|
||||
func (UnimplementedContractServer) RegisterPerson(context.Context, *RegisterPersonRequest) (*RegisterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method RegisterPerson not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) PersonVerify(context.Context, *PersonVerifyRequest) (*PersonVerifyResponse, error) {
|
||||
func (UnimplementedContractServer) PersonVerify(context.Context, *PersonVerifyRequest) (*PersonVerifyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method PersonVerify not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) RegisterOrg(context.Context, *RegisterOrgRequest) (*RegisterResponse, error) {
|
||||
func (UnimplementedContractServer) RegisterOrg(context.Context, *RegisterOrgRequest) (*RegisterResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method RegisterOrg not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) CompanyVerify(context.Context, *CompanyVerifyRequest) (*PersonVerifyResponse, error) {
|
||||
func (UnimplementedContractServer) CompanyVerify(context.Context, *CompanyVerifyRequest) (*PersonVerifyResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CompanyVerify not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) FindPersonCertInfo(context.Context, *FindCertInfo) (*PersonCertInfoResponse, error) {
|
||||
func (UnimplementedContractServer) FindPersonCertInfo(context.Context, *FindCertInfo) (*PersonCertInfoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindPersonCertInfo not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) FindCompanyCertInfo(context.Context, *FindCertInfo) (*CompanyCertInfoResponse, error) {
|
||||
func (UnimplementedContractServer) FindCompanyCertInfo(context.Context, *FindCertInfo) (*CompanyCertInfoResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindCompanyCertInfo not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) ApplyCert(context.Context, *ApplyCertRequest) (*CommonResponse, error) {
|
||||
func (UnimplementedContractServer) ApplyCert(context.Context, *ApplyCertRequest) (*CommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ApplyCert not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) AddSignature(context.Context, *AddSignRequest) (*AddSignResponse, error) {
|
||||
func (UnimplementedContractServer) AddSignature(context.Context, *AddSignRequest) (*AddSignResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method AddSignature not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) CustomSign(context.Context, *CustomSignRequest) (*CustomSignResponse, error) {
|
||||
func (UnimplementedContractServer) CustomSign(context.Context, *CustomSignRequest) (*CustomSignResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CustomSign not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) UploadTemplate(context.Context, *UploadTemplateRequest) (*CommonResponse, error) {
|
||||
func (UnimplementedContractServer) UploadTemplate(context.Context, *UploadTemplateRequest) (*CommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UploadTemplate not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) UploadDocs(context.Context, *UploadDocsRequest) (*CommonResponse, error) {
|
||||
func (UnimplementedContractServer) UploadDocs(context.Context, *UploadDocsRequest) (*CommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method UploadDocs not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) GenerateContract(context.Context, *GenerateContractRequest) (*ViewCommonResponse, error) {
|
||||
func (UnimplementedContractServer) GenerateContract(context.Context, *GenerateContractRequest) (*ViewCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GenerateContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) ExtSignAuto(context.Context, *ExtSignAutoRequest) (*ViewCommonResponse, error) {
|
||||
func (UnimplementedContractServer) ExtSignAuto(context.Context, *ExtSignAutoRequest) (*ViewCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ExtSignAuto not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) BeforeAuthSign(context.Context, *BeforeAuthSignRequest) (*JumpCommonResponse, error) {
|
||||
func (UnimplementedContractServer) BeforeAuthSign(context.Context, *BeforeAuthSignRequest) (*JumpCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method BeforeAuthSign not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) ExtSign(context.Context, *ExtSignRequest) (*JumpCommonResponse, error) {
|
||||
func (UnimplementedContractServer) ExtSign(context.Context, *ExtSignRequest) (*JumpCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ExtSign not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) ViewContract(context.Context, *ContractRequest) (*JumpCommonResponse, error) {
|
||||
func (UnimplementedContractServer) ViewContract(context.Context, *ContractRequest) (*JumpCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ViewContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) DownLoadContract(context.Context, *ContractRequest) (*JumpCommonResponse, error) {
|
||||
func (UnimplementedContractServer) DownLoadContract(context.Context, *ContractRequest) (*JumpCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DownLoadContract not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) ContractFiling(context.Context, *ContractRequest) (*CommonResponse, error) {
|
||||
func (UnimplementedContractServer) ContractFiling(context.Context, *ContractRequest) (*CommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ContractFiling not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) GetPdfTemplateKeys(context.Context, *PdfTemplateKeysRequest) (*PdfTemplateKeysResponse, error) {
|
||||
func (UnimplementedContractServer) GetPdfTemplateKeys(context.Context, *PdfTemplateKeysRequest) (*PdfTemplateKeysResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetPdfTemplateKeys not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) AuthStatus(context.Context, *CustomerIdRequest) (*AuthStatusResponse, error) {
|
||||
func (UnimplementedContractServer) AuthStatus(context.Context, *CustomerIdRequest) (*AuthStatusResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method AuthStatus not implemented")
|
||||
}
|
||||
func (UnimplementedContractMicroserviceServer) CancelExtSignAuto(context.Context, *CancelExtSignAutoRequest) (*JumpCommonResponse, error) {
|
||||
func (UnimplementedContractServer) CancelExtSignAuto(context.Context, *CancelExtSignAutoRequest) (*JumpCommonResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CancelExtSignAuto not implemented")
|
||||
}
|
||||
func (s *UnimplementedContractMicroserviceServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
func (s *UnimplementedContractServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
||||
s.proxyImpl = impl
|
||||
}
|
||||
|
||||
func (s *UnimplementedContractMicroserviceServer) XXX_GetProxyImpl() protocol.Invoker {
|
||||
func (s *UnimplementedContractServer) XXX_GetProxyImpl() protocol.Invoker {
|
||||
return s.proxyImpl
|
||||
}
|
||||
|
||||
func (s *UnimplementedContractMicroserviceServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
||||
return &ContractMicroservice_ServiceDesc
|
||||
func (s *UnimplementedContractServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
||||
return &Contract_ServiceDesc
|
||||
}
|
||||
func (s *UnimplementedContractMicroserviceServer) XXX_InterfaceName() string {
|
||||
return "contractMicroservice.ContractMicroservice"
|
||||
func (s *UnimplementedContractServer) XXX_InterfaceName() string {
|
||||
return "contract.Contract"
|
||||
}
|
||||
|
||||
func (UnimplementedContractMicroserviceServer) mustEmbedUnimplementedContractMicroserviceServer() {}
|
||||
func (UnimplementedContractServer) mustEmbedUnimplementedContractServer() {}
|
||||
|
||||
// UnsafeContractMicroserviceServer may be embedded to opt out of forward compatibility for this service.
|
||||
// Use of this interface is not recommended, as added methods to ContractMicroserviceServer will
|
||||
// UnsafeContractServer may be embedded to opt out of forward compatibility for this service.
|
||||
// Use of this interface is not recommended, as added methods to ContractServer will
|
||||
// result in compilation errors.
|
||||
type UnsafeContractMicroserviceServer interface {
|
||||
mustEmbedUnimplementedContractMicroserviceServer()
|
||||
type UnsafeContractServer interface {
|
||||
mustEmbedUnimplementedContractServer()
|
||||
}
|
||||
|
||||
func RegisterContractMicroserviceServer(s grpc_go.ServiceRegistrar, srv ContractMicroserviceServer) {
|
||||
s.RegisterService(&ContractMicroservice_ServiceDesc, srv)
|
||||
func RegisterContractServer(s grpc_go.ServiceRegistrar, srv ContractServer) {
|
||||
s.RegisterService(&Contract_ServiceDesc, srv)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_RegisterPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_RegisterPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(RegisterPersonRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -370,7 +370,7 @@ func _ContractMicroservice_RegisterPerson_Handler(srv interface{}, ctx context.C
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_PersonVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_PersonVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PersonVerifyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -399,7 +399,7 @@ func _ContractMicroservice_PersonVerify_Handler(srv interface{}, ctx context.Con
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_RegisterOrg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_RegisterOrg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(RegisterOrgRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -428,7 +428,7 @@ func _ContractMicroservice_RegisterOrg_Handler(srv interface{}, ctx context.Cont
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_CompanyVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_CompanyVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CompanyVerifyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -457,7 +457,7 @@ func _ContractMicroservice_CompanyVerify_Handler(srv interface{}, ctx context.Co
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_FindPersonCertInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_FindPersonCertInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(FindCertInfo)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -486,7 +486,7 @@ func _ContractMicroservice_FindPersonCertInfo_Handler(srv interface{}, ctx conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_FindCompanyCertInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_FindCompanyCertInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(FindCertInfo)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -515,7 +515,7 @@ func _ContractMicroservice_FindCompanyCertInfo_Handler(srv interface{}, ctx cont
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_ApplyCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_ApplyCert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ApplyCertRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -544,7 +544,7 @@ func _ContractMicroservice_ApplyCert_Handler(srv interface{}, ctx context.Contex
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_AddSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_AddSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(AddSignRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -573,7 +573,7 @@ func _ContractMicroservice_AddSignature_Handler(srv interface{}, ctx context.Con
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_CustomSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_CustomSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CustomSignRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -602,7 +602,7 @@ func _ContractMicroservice_CustomSign_Handler(srv interface{}, ctx context.Conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_UploadTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_UploadTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UploadTemplateRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -631,7 +631,7 @@ func _ContractMicroservice_UploadTemplate_Handler(srv interface{}, ctx context.C
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_UploadDocs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_UploadDocs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(UploadDocsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -660,7 +660,7 @@ func _ContractMicroservice_UploadDocs_Handler(srv interface{}, ctx context.Conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_GenerateContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_GenerateContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GenerateContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -689,7 +689,7 @@ func _ContractMicroservice_GenerateContract_Handler(srv interface{}, ctx context
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_ExtSignAuto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_ExtSignAuto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ExtSignAutoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -718,7 +718,7 @@ func _ContractMicroservice_ExtSignAuto_Handler(srv interface{}, ctx context.Cont
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_BeforeAuthSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_BeforeAuthSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(BeforeAuthSignRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -747,7 +747,7 @@ func _ContractMicroservice_BeforeAuthSign_Handler(srv interface{}, ctx context.C
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_ExtSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_ExtSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ExtSignRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -776,7 +776,7 @@ func _ContractMicroservice_ExtSign_Handler(srv interface{}, ctx context.Context,
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_ViewContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_ViewContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -805,7 +805,7 @@ func _ContractMicroservice_ViewContract_Handler(srv interface{}, ctx context.Con
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_DownLoadContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_DownLoadContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -834,7 +834,7 @@ func _ContractMicroservice_DownLoadContract_Handler(srv interface{}, ctx context
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_ContractFiling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_ContractFiling_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ContractRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -863,7 +863,7 @@ func _ContractMicroservice_ContractFiling_Handler(srv interface{}, ctx context.C
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_GetPdfTemplateKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_GetPdfTemplateKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PdfTemplateKeysRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -892,7 +892,7 @@ func _ContractMicroservice_GetPdfTemplateKeys_Handler(srv interface{}, ctx conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_AuthStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_AuthStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CustomerIdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -921,7 +921,7 @@ func _ContractMicroservice_AuthStatus_Handler(srv interface{}, ctx context.Conte
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _ContractMicroservice_CancelExtSignAuto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
func _Contract_CancelExtSignAuto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CancelExtSignAutoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
@ -950,98 +950,98 @@ func _ContractMicroservice_CancelExtSignAuto_Handler(srv interface{}, ctx contex
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
// ContractMicroservice_ServiceDesc is the grpc_go.ServiceDesc for ContractMicroservice service.
|
||||
// Contract_ServiceDesc is the grpc_go.ServiceDesc for Contract service.
|
||||
// It's only intended for direct use with grpc_go.RegisterService,
|
||||
// and not to be introspected or modified (even as a copy)
|
||||
var ContractMicroservice_ServiceDesc = grpc_go.ServiceDesc{
|
||||
ServiceName: "contractMicroservice.ContractMicroservice",
|
||||
HandlerType: (*ContractMicroserviceServer)(nil),
|
||||
var Contract_ServiceDesc = grpc_go.ServiceDesc{
|
||||
ServiceName: "contract.Contract",
|
||||
HandlerType: (*ContractServer)(nil),
|
||||
Methods: []grpc_go.MethodDesc{
|
||||
{
|
||||
MethodName: "RegisterPerson",
|
||||
Handler: _ContractMicroservice_RegisterPerson_Handler,
|
||||
Handler: _Contract_RegisterPerson_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "PersonVerify",
|
||||
Handler: _ContractMicroservice_PersonVerify_Handler,
|
||||
Handler: _Contract_PersonVerify_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "RegisterOrg",
|
||||
Handler: _ContractMicroservice_RegisterOrg_Handler,
|
||||
Handler: _Contract_RegisterOrg_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CompanyVerify",
|
||||
Handler: _ContractMicroservice_CompanyVerify_Handler,
|
||||
Handler: _Contract_CompanyVerify_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FindPersonCertInfo",
|
||||
Handler: _ContractMicroservice_FindPersonCertInfo_Handler,
|
||||
Handler: _Contract_FindPersonCertInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "FindCompanyCertInfo",
|
||||
Handler: _ContractMicroservice_FindCompanyCertInfo_Handler,
|
||||
Handler: _Contract_FindCompanyCertInfo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ApplyCert",
|
||||
Handler: _ContractMicroservice_ApplyCert_Handler,
|
||||
Handler: _Contract_ApplyCert_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "AddSignature",
|
||||
Handler: _ContractMicroservice_AddSignature_Handler,
|
||||
Handler: _Contract_AddSignature_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CustomSign",
|
||||
Handler: _ContractMicroservice_CustomSign_Handler,
|
||||
Handler: _Contract_CustomSign_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UploadTemplate",
|
||||
Handler: _ContractMicroservice_UploadTemplate_Handler,
|
||||
Handler: _Contract_UploadTemplate_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "UploadDocs",
|
||||
Handler: _ContractMicroservice_UploadDocs_Handler,
|
||||
Handler: _Contract_UploadDocs_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GenerateContract",
|
||||
Handler: _ContractMicroservice_GenerateContract_Handler,
|
||||
Handler: _Contract_GenerateContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ExtSignAuto",
|
||||
Handler: _ContractMicroservice_ExtSignAuto_Handler,
|
||||
Handler: _Contract_ExtSignAuto_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "BeforeAuthSign",
|
||||
Handler: _ContractMicroservice_BeforeAuthSign_Handler,
|
||||
Handler: _Contract_BeforeAuthSign_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ExtSign",
|
||||
Handler: _ContractMicroservice_ExtSign_Handler,
|
||||
Handler: _Contract_ExtSign_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ViewContract",
|
||||
Handler: _ContractMicroservice_ViewContract_Handler,
|
||||
Handler: _Contract_ViewContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DownLoadContract",
|
||||
Handler: _ContractMicroservice_DownLoadContract_Handler,
|
||||
Handler: _Contract_DownLoadContract_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ContractFiling",
|
||||
Handler: _ContractMicroservice_ContractFiling_Handler,
|
||||
Handler: _Contract_ContractFiling_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetPdfTemplateKeys",
|
||||
Handler: _ContractMicroservice_GetPdfTemplateKeys_Handler,
|
||||
Handler: _Contract_GetPdfTemplateKeys_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "AuthStatus",
|
||||
Handler: _ContractMicroservice_AuthStatus_Handler,
|
||||
Handler: _Contract_AuthStatus_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CancelExtSignAuto",
|
||||
Handler: _ContractMicroservice_CancelExtSignAuto_Handler,
|
||||
Handler: _Contract_CancelExtSignAuto_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc_go.StreamDesc{},
|
||||
Metadata: "contract.proto",
|
||||
Metadata: "api/contract/contract.proto",
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ var (
|
||||
AccountProvider = new(account.AccountClientImpl)
|
||||
ArtworkImpl = new(artwork.ArtworkClientImpl)
|
||||
ArtworkQueryImpl = new(artwork_query.ArtworkQueryClientImpl)
|
||||
ContractImpl = new(contractMicroservice.ContractMicroserviceClientImpl)
|
||||
ContractImpl = new(contractMicroservice.ContractClientImpl)
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user