sendsvc

package
v0.0.0-...-2d9c92e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_sendsvc_proto protoreflect.FileDescriptor
View Source
var TplSendSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sendsvc.TplSendSvc",
	HandlerType: (*TplSendSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRec",
			Handler:    _TplSendSvc_CreateRec_Handler,
		},
		{
			MethodName: "GetRecById",
			Handler:    _TplSendSvc_GetRecById_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sendsvc.proto",
}

TplSendSvc_ServiceDesc is the grpc.ServiceDesc for TplSendSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TplSignSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sendsvc.TplSignSvc",
	HandlerType: (*TplSignSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSigById",
			Handler:    _TplSignSvc_GetSigById_Handler,
		},
		{
			MethodName: "CreateSig",
			Handler:    _TplSignSvc_CreateSig_Handler,
		},
		{
			MethodName: "UpdateSig",
			Handler:    _TplSignSvc_UpdateSig_Handler,
		},
		{
			MethodName: "DeleteSig",
			Handler:    _TplSignSvc_DeleteSig_Handler,
		},
		{
			MethodName: "SigList",
			Handler:    _TplSignSvc_SigList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sendsvc.proto",
}

TplSignSvc_ServiceDesc is the grpc.ServiceDesc for TplSignSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TplSvc_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "sendsvc.TplSvc",
	HandlerType: (*TplSvcServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTplById",
			Handler:    _TplSvc_GetTplById_Handler,
		},
		{
			MethodName: "CreateTpl",
			Handler:    _TplSvc_CreateTpl_Handler,
		},
		{
			MethodName: "UpdateTpl",
			Handler:    _TplSvc_UpdateTpl_Handler,
		},
		{
			MethodName: "DeleteTpl",
			Handler:    _TplSvc_DeleteTpl_Handler,
		},
		{
			MethodName: "TplList",
			Handler:    _TplSvc_TplList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sendsvc.proto",
}

TplSvc_ServiceDesc is the grpc.ServiceDesc for TplSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTplSendSvcServer

func RegisterTplSendSvcServer(s grpc.ServiceRegistrar, srv TplSendSvcServer)

func RegisterTplSignSvcServer

func RegisterTplSignSvcServer(s grpc.ServiceRegistrar, srv TplSignSvcServer)

func RegisterTplSvcServer

func RegisterTplSvcServer(s grpc.ServiceRegistrar, srv TplSvcServer)

Types

type CreateRecReq

type CreateRecReq struct {
	Mobile     string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
	AppId      int64  `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	TplId      string `protobuf:"bytes,3,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	TplParam   string `protobuf:"bytes,4,opt,name=tpl_param,json=tplParam,proto3" json:"tpl_param,omitempty"`
	SenderIp   string `protobuf:"bytes,5,opt,name=sender_ip,json=senderIp,proto3" json:"sender_ip,omitempty"`
	Nationcode string `protobuf:"bytes,6,opt,name=nationcode,proto3" json:"nationcode,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecReq) Descriptor deprecated

func (*CreateRecReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateRecReq.ProtoReflect.Descriptor instead.

func (*CreateRecReq) GetAppId

func (x *CreateRecReq) GetAppId() int64

func (*CreateRecReq) GetMobile

func (x *CreateRecReq) GetMobile() string

func (*CreateRecReq) GetNationcode

func (x *CreateRecReq) GetNationcode() string

func (*CreateRecReq) GetSenderIp

func (x *CreateRecReq) GetSenderIp() string

func (*CreateRecReq) GetTplId

func (x *CreateRecReq) GetTplId() string

func (*CreateRecReq) GetTplParam

func (x *CreateRecReq) GetTplParam() string

func (*CreateRecReq) ProtoMessage

func (*CreateRecReq) ProtoMessage()

func (*CreateRecReq) ProtoReflect

func (x *CreateRecReq) ProtoReflect() protoreflect.Message

func (*CreateRecReq) Reset

func (x *CreateRecReq) Reset()

func (*CreateRecReq) String

func (x *CreateRecReq) String() string

type CreateRecResp

type CreateRecResp struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRecResp) Descriptor deprecated

func (*CreateRecResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateRecResp.ProtoReflect.Descriptor instead.

func (*CreateRecResp) GetId

func (x *CreateRecResp) GetId() int64

func (*CreateRecResp) ProtoMessage

func (*CreateRecResp) ProtoMessage()

func (*CreateRecResp) ProtoReflect

func (x *CreateRecResp) ProtoReflect() protoreflect.Message

func (*CreateRecResp) Reset

func (x *CreateRecResp) Reset()

func (*CreateRecResp) String

func (x *CreateRecResp) String() string

type CreateSigReq

type CreateSigReq struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	IsDefault int32  `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSigReq) Descriptor deprecated

func (*CreateSigReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateSigReq.ProtoReflect.Descriptor instead.

func (*CreateSigReq) GetAccountId

func (x *CreateSigReq) GetAccountId() int64

func (*CreateSigReq) GetIsDefault

func (x *CreateSigReq) GetIsDefault() int32

func (*CreateSigReq) GetSignature

func (x *CreateSigReq) GetSignature() string

func (*CreateSigReq) ProtoMessage

func (*CreateSigReq) ProtoMessage()

func (*CreateSigReq) ProtoReflect

func (x *CreateSigReq) ProtoReflect() protoreflect.Message

func (*CreateSigReq) Reset

func (x *CreateSigReq) Reset()

func (*CreateSigReq) String

func (x *CreateSigReq) String() string

type CreateSigResp

type CreateSigResp struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSigResp) Descriptor deprecated

func (*CreateSigResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateSigResp.ProtoReflect.Descriptor instead.

func (*CreateSigResp) GetId

func (x *CreateSigResp) GetId() int64

func (*CreateSigResp) ProtoMessage

func (*CreateSigResp) ProtoMessage()

func (*CreateSigResp) ProtoReflect

func (x *CreateSigResp) ProtoReflect() protoreflect.Message

func (*CreateSigResp) Reset

func (x *CreateSigResp) Reset()

func (*CreateSigResp) String

func (x *CreateSigResp) String() string

type CreateTplReq

type CreateTplReq struct {
	SignId    int64  `protobuf:"varint,1,opt,name=sign_id,json=signId,proto3" json:"sign_id,omitempty"`
	AccountId int64  `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Content   string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTplReq) Descriptor deprecated

func (*CreateTplReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateTplReq.ProtoReflect.Descriptor instead.

func (*CreateTplReq) GetAccountId

func (x *CreateTplReq) GetAccountId() int64

func (*CreateTplReq) GetContent

func (x *CreateTplReq) GetContent() string

func (*CreateTplReq) GetSignId

func (x *CreateTplReq) GetSignId() int64

func (*CreateTplReq) ProtoMessage

func (*CreateTplReq) ProtoMessage()

func (*CreateTplReq) ProtoReflect

func (x *CreateTplReq) ProtoReflect() protoreflect.Message

func (*CreateTplReq) Reset

func (x *CreateTplReq) Reset()

func (*CreateTplReq) String

func (x *CreateTplReq) String() string

type CreateTplResp

type CreateTplResp struct {
	TplId int64  `protobuf:"varint,1,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	Err   string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTplResp) Descriptor deprecated

func (*CreateTplResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateTplResp.ProtoReflect.Descriptor instead.

func (*CreateTplResp) GetErr

func (x *CreateTplResp) GetErr() string

func (*CreateTplResp) GetTplId

func (x *CreateTplResp) GetTplId() int64

func (*CreateTplResp) ProtoMessage

func (*CreateTplResp) ProtoMessage()

func (*CreateTplResp) ProtoReflect

func (x *CreateTplResp) ProtoReflect() protoreflect.Message

func (*CreateTplResp) Reset

func (x *CreateTplResp) Reset()

func (*CreateTplResp) String

func (x *CreateTplResp) String() string

type DeletTplResp

type DeletTplResp struct {
	Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletTplResp) Descriptor deprecated

func (*DeletTplResp) Descriptor() ([]byte, []int)

Deprecated: Use DeletTplResp.ProtoReflect.Descriptor instead.

func (*DeletTplResp) GetErr

func (x *DeletTplResp) GetErr() string

func (*DeletTplResp) ProtoMessage

func (*DeletTplResp) ProtoMessage()

func (*DeletTplResp) ProtoReflect

func (x *DeletTplResp) ProtoReflect() protoreflect.Message

func (*DeletTplResp) Reset

func (x *DeletTplResp) Reset()

func (*DeletTplResp) String

func (x *DeletTplResp) String() string

type DeleteSigReq

type DeleteSigReq struct {
	// contains filtered or unexported fields
}

func (*DeleteSigReq) Descriptor deprecated

func (*DeleteSigReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSigReq.ProtoReflect.Descriptor instead.

func (*DeleteSigReq) ProtoMessage

func (*DeleteSigReq) ProtoMessage()

func (*DeleteSigReq) ProtoReflect

func (x *DeleteSigReq) ProtoReflect() protoreflect.Message

func (*DeleteSigReq) Reset

func (x *DeleteSigReq) Reset()

func (*DeleteSigReq) String

func (x *DeleteSigReq) String() string

type DeleteSigResp

type DeleteSigResp struct {
	// contains filtered or unexported fields
}

func (*DeleteSigResp) Descriptor deprecated

func (*DeleteSigResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSigResp.ProtoReflect.Descriptor instead.

func (*DeleteSigResp) ProtoMessage

func (*DeleteSigResp) ProtoMessage()

func (*DeleteSigResp) ProtoReflect

func (x *DeleteSigResp) ProtoReflect() protoreflect.Message

func (*DeleteSigResp) Reset

func (x *DeleteSigResp) Reset()

func (*DeleteSigResp) String

func (x *DeleteSigResp) String() string

type DeleteTplReq

type DeleteTplReq struct {
	TplId int64 `protobuf:"varint,1,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTplReq) Descriptor deprecated

func (*DeleteTplReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTplReq.ProtoReflect.Descriptor instead.

func (*DeleteTplReq) GetTplId

func (x *DeleteTplReq) GetTplId() int64

func (*DeleteTplReq) ProtoMessage

func (*DeleteTplReq) ProtoMessage()

func (*DeleteTplReq) ProtoReflect

func (x *DeleteTplReq) ProtoReflect() protoreflect.Message

func (*DeleteTplReq) Reset

func (x *DeleteTplReq) Reset()

func (*DeleteTplReq) String

func (x *DeleteTplReq) String() string

type GetRecByIdReq

type GetRecByIdReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecByIdReq) Descriptor deprecated

func (*GetRecByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetRecByIdReq.ProtoReflect.Descriptor instead.

func (*GetRecByIdReq) GetId

func (x *GetRecByIdReq) GetId() int64

func (*GetRecByIdReq) ProtoMessage

func (*GetRecByIdReq) ProtoMessage()

func (*GetRecByIdReq) ProtoReflect

func (x *GetRecByIdReq) ProtoReflect() protoreflect.Message

func (*GetRecByIdReq) Reset

func (x *GetRecByIdReq) Reset()

func (*GetRecByIdReq) String

func (x *GetRecByIdReq) String() string

type GetRecByIdResp

type GetRecByIdResp struct {
	Item *Rec   `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Err  string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecByIdResp) Descriptor deprecated

func (*GetRecByIdResp) Descriptor() ([]byte, []int)

Deprecated: Use GetRecByIdResp.ProtoReflect.Descriptor instead.

func (*GetRecByIdResp) GetErr

func (x *GetRecByIdResp) GetErr() string

func (*GetRecByIdResp) GetItem

func (x *GetRecByIdResp) GetItem() *Rec

func (*GetRecByIdResp) ProtoMessage

func (*GetRecByIdResp) ProtoMessage()

func (*GetRecByIdResp) ProtoReflect

func (x *GetRecByIdResp) ProtoReflect() protoreflect.Message

func (*GetRecByIdResp) Reset

func (x *GetRecByIdResp) Reset()

func (*GetRecByIdResp) String

func (x *GetRecByIdResp) String() string

type GetSigByIdReq

type GetSigByIdReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSigByIdReq) Descriptor deprecated

func (*GetSigByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetSigByIdReq.ProtoReflect.Descriptor instead.

func (*GetSigByIdReq) GetId

func (x *GetSigByIdReq) GetId() int64

func (*GetSigByIdReq) ProtoMessage

func (*GetSigByIdReq) ProtoMessage()

func (*GetSigByIdReq) ProtoReflect

func (x *GetSigByIdReq) ProtoReflect() protoreflect.Message

func (*GetSigByIdReq) Reset

func (x *GetSigByIdReq) Reset()

func (*GetSigByIdReq) String

func (x *GetSigByIdReq) String() string

type GetSigByIdResp

type GetSigByIdResp struct {
	Item *Sign  `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Err  string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSigByIdResp) Descriptor deprecated

func (*GetSigByIdResp) Descriptor() ([]byte, []int)

Deprecated: Use GetSigByIdResp.ProtoReflect.Descriptor instead.

func (*GetSigByIdResp) GetErr

func (x *GetSigByIdResp) GetErr() string

func (*GetSigByIdResp) GetItem

func (x *GetSigByIdResp) GetItem() *Sign

func (*GetSigByIdResp) ProtoMessage

func (*GetSigByIdResp) ProtoMessage()

func (*GetSigByIdResp) ProtoReflect

func (x *GetSigByIdResp) ProtoReflect() protoreflect.Message

func (*GetSigByIdResp) Reset

func (x *GetSigByIdResp) Reset()

func (*GetSigByIdResp) String

func (x *GetSigByIdResp) String() string

type GetTplByIdReq

type GetTplByIdReq struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTplByIdReq) Descriptor deprecated

func (*GetTplByIdReq) Descriptor() ([]byte, []int)

Deprecated: Use GetTplByIdReq.ProtoReflect.Descriptor instead.

func (*GetTplByIdReq) GetId

func (x *GetTplByIdReq) GetId() int64

func (*GetTplByIdReq) ProtoMessage

func (*GetTplByIdReq) ProtoMessage()

func (*GetTplByIdReq) ProtoReflect

func (x *GetTplByIdReq) ProtoReflect() protoreflect.Message

func (*GetTplByIdReq) Reset

func (x *GetTplByIdReq) Reset()

func (*GetTplByIdReq) String

func (x *GetTplByIdReq) String() string

type GetTplByIdResp

type GetTplByIdResp struct {
	Item *Tpl   `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Err  string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTplByIdResp) Descriptor deprecated

func (*GetTplByIdResp) Descriptor() ([]byte, []int)

Deprecated: Use GetTplByIdResp.ProtoReflect.Descriptor instead.

func (*GetTplByIdResp) GetErr

func (x *GetTplByIdResp) GetErr() string

func (*GetTplByIdResp) GetItem

func (x *GetTplByIdResp) GetItem() *Tpl

func (*GetTplByIdResp) ProtoMessage

func (*GetTplByIdResp) ProtoMessage()

func (*GetTplByIdResp) ProtoReflect

func (x *GetTplByIdResp) ProtoReflect() protoreflect.Message

func (*GetTplByIdResp) Reset

func (x *GetTplByIdResp) Reset()

func (*GetTplByIdResp) String

func (x *GetTplByIdResp) String() string

type Rec

type Rec struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mobile       string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Nationcode   string `protobuf:"bytes,3,opt,name=nationcode,proto3" json:"nationcode,omitempty"`
	AppId        int64  `protobuf:"varint,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	TemplateType string `protobuf:"bytes,5,opt,name=template_type,json=templateType,proto3" json:"template_type,omitempty"`
	TplId        string `protobuf:"bytes,6,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	TplParam     string `protobuf:"bytes,7,opt,name=tpl_param,json=tplParam,proto3" json:"tpl_param,omitempty"`
	SendAt       string `protobuf:"bytes,8,opt,name=send_at,json=sendAt,proto3" json:"send_at,omitempty"`
	SendStatus   int32  `protobuf:"varint,9,opt,name=send_status,json=sendStatus,proto3" json:"send_status,omitempty"`
	SenderIp     string `protobuf:"bytes,10,opt,name=sender_ip,json=senderIp,proto3" json:"sender_ip,omitempty"`
	CreatedAt    int64  `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    int64  `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	QueueId      string `protobuf:"bytes,13,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Rec) Descriptor deprecated

func (*Rec) Descriptor() ([]byte, []int)

Deprecated: Use Rec.ProtoReflect.Descriptor instead.

func (*Rec) GetAppId

func (x *Rec) GetAppId() int64

func (*Rec) GetCreatedAt

func (x *Rec) GetCreatedAt() int64

func (*Rec) GetId

func (x *Rec) GetId() int64

func (*Rec) GetMobile

func (x *Rec) GetMobile() string

func (*Rec) GetNationcode

func (x *Rec) GetNationcode() string

func (*Rec) GetQueueId

func (x *Rec) GetQueueId() string

func (*Rec) GetSendAt

func (x *Rec) GetSendAt() string

func (*Rec) GetSendStatus

func (x *Rec) GetSendStatus() int32

func (*Rec) GetSenderIp

func (x *Rec) GetSenderIp() string

func (*Rec) GetTemplateType

func (x *Rec) GetTemplateType() string

func (*Rec) GetTplId

func (x *Rec) GetTplId() string

func (*Rec) GetTplParam

func (x *Rec) GetTplParam() string

func (*Rec) GetUpdatedAt

func (x *Rec) GetUpdatedAt() int64

func (*Rec) ProtoMessage

func (*Rec) ProtoMessage()

func (*Rec) ProtoReflect

func (x *Rec) ProtoReflect() protoreflect.Message

func (*Rec) Reset

func (x *Rec) Reset()

func (*Rec) String

func (x *Rec) String() string

type SigListReq

type SigListReq struct {
	AccountId int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Status    int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	CreatedLt int64  `protobuf:"varint,4,opt,name=created_lt,json=createdLt,proto3" json:"created_lt,omitempty"`
	CreatedGt int64  `protobuf:"varint,5,opt,name=created_gt,json=createdGt,proto3" json:"created_gt,omitempty"`
	Page      int64  `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	PageSize  int64  `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	IsDefault int32  `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

func (*SigListReq) Descriptor deprecated

func (*SigListReq) Descriptor() ([]byte, []int)

Deprecated: Use SigListReq.ProtoReflect.Descriptor instead.

func (*SigListReq) GetAccountId

func (x *SigListReq) GetAccountId() int64

func (*SigListReq) GetCreatedGt

func (x *SigListReq) GetCreatedGt() int64

func (*SigListReq) GetCreatedLt

func (x *SigListReq) GetCreatedLt() int64

func (*SigListReq) GetIsDefault

func (x *SigListReq) GetIsDefault() int32

func (*SigListReq) GetPage

func (x *SigListReq) GetPage() int64

func (*SigListReq) GetPageSize

func (x *SigListReq) GetPageSize() int64

func (*SigListReq) GetSignature

func (x *SigListReq) GetSignature() string

func (*SigListReq) GetStatus

func (x *SigListReq) GetStatus() int32

func (*SigListReq) ProtoMessage

func (*SigListReq) ProtoMessage()

func (*SigListReq) ProtoReflect

func (x *SigListReq) ProtoReflect() protoreflect.Message

func (*SigListReq) Reset

func (x *SigListReq) Reset()

func (*SigListReq) String

func (x *SigListReq) String() string

type SigListResp

type SigListResp struct {
	List  []*Sign `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int32   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*SigListResp) Descriptor deprecated

func (*SigListResp) Descriptor() ([]byte, []int)

Deprecated: Use SigListResp.ProtoReflect.Descriptor instead.

func (*SigListResp) GetList

func (x *SigListResp) GetList() []*Sign

func (*SigListResp) GetTotal

func (x *SigListResp) GetTotal() int32

func (*SigListResp) ProtoMessage

func (*SigListResp) ProtoMessage()

func (*SigListResp) ProtoReflect

func (x *SigListResp) ProtoReflect() protoreflect.Message

func (*SigListResp) Reset

func (x *SigListResp) Reset()

func (*SigListResp) String

func (x *SigListResp) String() string

type Sign

type Sign struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	IsDefault int32  `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	Status    int32  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt int64  `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt int64  `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Sign) Descriptor deprecated

func (*Sign) Descriptor() ([]byte, []int)

Deprecated: Use Sign.ProtoReflect.Descriptor instead.

func (*Sign) GetCreatedAt

func (x *Sign) GetCreatedAt() int64

func (*Sign) GetId

func (x *Sign) GetId() int64

func (*Sign) GetIsDefault

func (x *Sign) GetIsDefault() int32

func (*Sign) GetSignature

func (x *Sign) GetSignature() string

func (*Sign) GetStatus

func (x *Sign) GetStatus() int32

func (*Sign) GetUpdatedAt

func (x *Sign) GetUpdatedAt() int64

func (*Sign) ProtoMessage

func (*Sign) ProtoMessage()

func (*Sign) ProtoReflect

func (x *Sign) ProtoReflect() protoreflect.Message

func (*Sign) Reset

func (x *Sign) Reset()

func (*Sign) String

func (x *Sign) String() string

type Tpl

type Tpl struct {
	Id         int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	TplName    string `protobuf:"bytes,2,opt,name=tpl_name,json=tplName,proto3" json:"tpl_name,omitempty"`
	TplContent string `protobuf:"bytes,3,opt,name=tpl_content,json=tplContent,proto3" json:"tpl_content,omitempty"`
	TplType    string `protobuf:"bytes,4,opt,name=tpl_type,json=tplType,proto3" json:"tpl_type,omitempty"`
	SignId     int64  `protobuf:"varint,5,opt,name=sign_id,json=signId,proto3" json:"sign_id,omitempty"`
	AccountId  int64  `protobuf:"varint,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Status     int32  `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	Remark     string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
	CreatedAt  int64  `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  int64  `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	QueueId    int64  `protobuf:"varint,11,opt,name=queue_id,json=queueId,proto3" json:"queue_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Tpl) Descriptor deprecated

func (*Tpl) Descriptor() ([]byte, []int)

Deprecated: Use Tpl.ProtoReflect.Descriptor instead.

func (*Tpl) GetAccountId

func (x *Tpl) GetAccountId() int64

func (*Tpl) GetCreatedAt

func (x *Tpl) GetCreatedAt() int64

func (*Tpl) GetId

func (x *Tpl) GetId() int64

func (*Tpl) GetQueueId

func (x *Tpl) GetQueueId() int64

func (*Tpl) GetRemark

func (x *Tpl) GetRemark() string

func (*Tpl) GetSignId

func (x *Tpl) GetSignId() int64

func (*Tpl) GetStatus

func (x *Tpl) GetStatus() int32

func (*Tpl) GetTplContent

func (x *Tpl) GetTplContent() string

func (*Tpl) GetTplName

func (x *Tpl) GetTplName() string

func (*Tpl) GetTplType

func (x *Tpl) GetTplType() string

func (*Tpl) GetUpdatedAt

func (x *Tpl) GetUpdatedAt() int64

func (*Tpl) ProtoMessage

func (*Tpl) ProtoMessage()

func (*Tpl) ProtoReflect

func (x *Tpl) ProtoReflect() protoreflect.Message

func (*Tpl) Reset

func (x *Tpl) Reset()

func (*Tpl) String

func (x *Tpl) String() string

type TplListReq

type TplListReq struct {
	AccountId  int64  `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Status     int64  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	TplContent string `protobuf:"bytes,3,opt,name=tpl_content,json=tplContent,proto3" json:"tpl_content,omitempty"`
	CreatedLt  int64  `protobuf:"varint,4,opt,name=created_lt,json=createdLt,proto3" json:"created_lt,omitempty"`
	CreatedGt  int64  `protobuf:"varint,5,opt,name=created_gt,json=createdGt,proto3" json:"created_gt,omitempty"`
	Page       int64  `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int64  `protobuf:"varint,8,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Signature  string `protobuf:"bytes,9,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*TplListReq) Descriptor deprecated

func (*TplListReq) Descriptor() ([]byte, []int)

Deprecated: Use TplListReq.ProtoReflect.Descriptor instead.

func (*TplListReq) GetAccountId

func (x *TplListReq) GetAccountId() int64

func (*TplListReq) GetCreatedGt

func (x *TplListReq) GetCreatedGt() int64

func (*TplListReq) GetCreatedLt

func (x *TplListReq) GetCreatedLt() int64

func (*TplListReq) GetPage

func (x *TplListReq) GetPage() int64

func (*TplListReq) GetPageSize

func (x *TplListReq) GetPageSize() int64

func (*TplListReq) GetSignature

func (x *TplListReq) GetSignature() string

func (*TplListReq) GetStatus

func (x *TplListReq) GetStatus() int64

func (*TplListReq) GetTplContent

func (x *TplListReq) GetTplContent() string

func (*TplListReq) ProtoMessage

func (*TplListReq) ProtoMessage()

func (*TplListReq) ProtoReflect

func (x *TplListReq) ProtoReflect() protoreflect.Message

func (*TplListReq) Reset

func (x *TplListReq) Reset()

func (*TplListReq) String

func (x *TplListReq) String() string

type TplListResp

type TplListResp struct {
	List  []*Tpl `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	Total int32  `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*TplListResp) Descriptor deprecated

func (*TplListResp) Descriptor() ([]byte, []int)

Deprecated: Use TplListResp.ProtoReflect.Descriptor instead.

func (*TplListResp) GetList

func (x *TplListResp) GetList() []*Tpl

func (*TplListResp) GetTotal

func (x *TplListResp) GetTotal() int32

func (*TplListResp) ProtoMessage

func (*TplListResp) ProtoMessage()

func (*TplListResp) ProtoReflect

func (x *TplListResp) ProtoReflect() protoreflect.Message

func (*TplListResp) Reset

func (x *TplListResp) Reset()

func (*TplListResp) String

func (x *TplListResp) String() string

type TplSendSvcClient

type TplSendSvcClient interface {
	CreateRec(ctx context.Context, in *CreateRecReq, opts ...grpc.CallOption) (*CreateRecResp, error)
	GetRecById(ctx context.Context, in *GetRecByIdReq, opts ...grpc.CallOption) (*GetRecByIdResp, error)
}

TplSendSvcClient is the client API for TplSendSvc 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.

func NewTplSendSvcClient

func NewTplSendSvcClient(cc grpc.ClientConnInterface) TplSendSvcClient

type TplSendSvcServer

type TplSendSvcServer interface {
	CreateRec(context.Context, *CreateRecReq) (*CreateRecResp, error)
	GetRecById(context.Context, *GetRecByIdReq) (*GetRecByIdResp, error)
	// contains filtered or unexported methods
}

TplSendSvcServer is the server API for TplSendSvc service. All implementations must embed UnimplementedTplSendSvcServer for forward compatibility

type TplSignSvcClient

type TplSignSvcClient interface {
	GetSigById(ctx context.Context, in *GetSigByIdReq, opts ...grpc.CallOption) (*GetSigByIdResp, error)
	CreateSig(ctx context.Context, in *CreateSigReq, opts ...grpc.CallOption) (*CreateSigResp, error)
	UpdateSig(ctx context.Context, in *UpdateSigReq, opts ...grpc.CallOption) (*UpdateSigResp, error)
	DeleteSig(ctx context.Context, in *DeleteSigReq, opts ...grpc.CallOption) (*DeleteSigResp, error)
	SigList(ctx context.Context, in *SigListReq, opts ...grpc.CallOption) (*SigListResp, error)
}

TplSignSvcClient is the client API for TplSignSvc 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.

func NewTplSignSvcClient

func NewTplSignSvcClient(cc grpc.ClientConnInterface) TplSignSvcClient

type TplSignSvcServer

type TplSignSvcServer interface {
	GetSigById(context.Context, *GetSigByIdReq) (*GetSigByIdResp, error)
	CreateSig(context.Context, *CreateSigReq) (*CreateSigResp, error)
	UpdateSig(context.Context, *UpdateSigReq) (*UpdateSigResp, error)
	DeleteSig(context.Context, *DeleteSigReq) (*DeleteSigResp, error)
	SigList(context.Context, *SigListReq) (*SigListResp, error)
	// contains filtered or unexported methods
}

TplSignSvcServer is the server API for TplSignSvc service. All implementations must embed UnimplementedTplSignSvcServer for forward compatibility

type TplSvcClient

type TplSvcClient interface {
	GetTplById(ctx context.Context, in *GetTplByIdReq, opts ...grpc.CallOption) (*GetTplByIdResp, error)
	CreateTpl(ctx context.Context, in *CreateTplReq, opts ...grpc.CallOption) (*CreateTplResp, error)
	UpdateTpl(ctx context.Context, in *UpdateTplReq, opts ...grpc.CallOption) (*UpdateTplResp, error)
	DeleteTpl(ctx context.Context, in *DeleteTplReq, opts ...grpc.CallOption) (*DeletTplResp, error)
	TplList(ctx context.Context, in *TplListReq, opts ...grpc.CallOption) (*TplListResp, error)
}

TplSvcClient is the client API for TplSvc 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.

func NewTplSvcClient

func NewTplSvcClient(cc grpc.ClientConnInterface) TplSvcClient

type TplSvcServer

type TplSvcServer interface {
	GetTplById(context.Context, *GetTplByIdReq) (*GetTplByIdResp, error)
	CreateTpl(context.Context, *CreateTplReq) (*CreateTplResp, error)
	UpdateTpl(context.Context, *UpdateTplReq) (*UpdateTplResp, error)
	DeleteTpl(context.Context, *DeleteTplReq) (*DeletTplResp, error)
	TplList(context.Context, *TplListReq) (*TplListResp, error)
	// contains filtered or unexported methods
}

TplSvcServer is the server API for TplSvc service. All implementations must embed UnimplementedTplSvcServer for forward compatibility

type UnimplementedTplSendSvcServer

type UnimplementedTplSendSvcServer struct {
}

UnimplementedTplSendSvcServer must be embedded to have forward compatible implementations.

func (UnimplementedTplSendSvcServer) CreateRec

func (UnimplementedTplSendSvcServer) GetRecById

type UnimplementedTplSignSvcServer

type UnimplementedTplSignSvcServer struct {
}

UnimplementedTplSignSvcServer must be embedded to have forward compatible implementations.

func (UnimplementedTplSignSvcServer) CreateSig

func (UnimplementedTplSignSvcServer) DeleteSig

func (UnimplementedTplSignSvcServer) GetSigById

func (UnimplementedTplSignSvcServer) SigList

func (UnimplementedTplSignSvcServer) UpdateSig

type UnimplementedTplSvcServer

type UnimplementedTplSvcServer struct {
}

UnimplementedTplSvcServer must be embedded to have forward compatible implementations.

func (UnimplementedTplSvcServer) CreateTpl

func (UnimplementedTplSvcServer) DeleteTpl

func (UnimplementedTplSvcServer) GetTplById

func (UnimplementedTplSvcServer) TplList

func (UnimplementedTplSvcServer) UpdateTpl

type UnsafeTplSendSvcServer

type UnsafeTplSendSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeTplSendSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TplSendSvcServer will result in compilation errors.

type UnsafeTplSignSvcServer

type UnsafeTplSignSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeTplSignSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TplSignSvcServer will result in compilation errors.

type UnsafeTplSvcServer

type UnsafeTplSvcServer interface {
	// contains filtered or unexported methods
}

UnsafeTplSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TplSvcServer will result in compilation errors.

type UpdateSigReq

type UpdateSigReq struct {
	// contains filtered or unexported fields
}

func (*UpdateSigReq) Descriptor deprecated

func (*UpdateSigReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSigReq.ProtoReflect.Descriptor instead.

func (*UpdateSigReq) ProtoMessage

func (*UpdateSigReq) ProtoMessage()

func (*UpdateSigReq) ProtoReflect

func (x *UpdateSigReq) ProtoReflect() protoreflect.Message

func (*UpdateSigReq) Reset

func (x *UpdateSigReq) Reset()

func (*UpdateSigReq) String

func (x *UpdateSigReq) String() string

type UpdateSigResp

type UpdateSigResp struct {
	// contains filtered or unexported fields
}

func (*UpdateSigResp) Descriptor deprecated

func (*UpdateSigResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSigResp.ProtoReflect.Descriptor instead.

func (*UpdateSigResp) ProtoMessage

func (*UpdateSigResp) ProtoMessage()

func (*UpdateSigResp) ProtoReflect

func (x *UpdateSigResp) ProtoReflect() protoreflect.Message

func (*UpdateSigResp) Reset

func (x *UpdateSigResp) Reset()

func (*UpdateSigResp) String

func (x *UpdateSigResp) String() string

type UpdateTplReq

type UpdateTplReq struct {
	TplId      int64  `protobuf:"varint,1,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	SignId     int64  `protobuf:"varint,2,opt,name=sign_id,json=signId,proto3" json:"sign_id,omitempty"`
	TplContent string `protobuf:"bytes,3,opt,name=tpl_content,json=tplContent,proto3" json:"tpl_content,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTplReq) Descriptor deprecated

func (*UpdateTplReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTplReq.ProtoReflect.Descriptor instead.

func (*UpdateTplReq) GetSignId

func (x *UpdateTplReq) GetSignId() int64

func (*UpdateTplReq) GetTplContent

func (x *UpdateTplReq) GetTplContent() string

func (*UpdateTplReq) GetTplId

func (x *UpdateTplReq) GetTplId() int64

func (*UpdateTplReq) ProtoMessage

func (*UpdateTplReq) ProtoMessage()

func (*UpdateTplReq) ProtoReflect

func (x *UpdateTplReq) ProtoReflect() protoreflect.Message

func (*UpdateTplReq) Reset

func (x *UpdateTplReq) Reset()

func (*UpdateTplReq) String

func (x *UpdateTplReq) String() string

type UpdateTplResp

type UpdateTplResp struct {
	TplId int64  `protobuf:"varint,1,opt,name=tpl_id,json=tplId,proto3" json:"tpl_id,omitempty"`
	Err   string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTplResp) Descriptor deprecated

func (*UpdateTplResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTplResp.ProtoReflect.Descriptor instead.

func (*UpdateTplResp) GetErr

func (x *UpdateTplResp) GetErr() string

func (*UpdateTplResp) GetTplId

func (x *UpdateTplResp) GetTplId() int64

func (*UpdateTplResp) ProtoMessage

func (*UpdateTplResp) ProtoMessage()

func (*UpdateTplResp) ProtoReflect

func (x *UpdateTplResp) ProtoReflect() protoreflect.Message

func (*UpdateTplResp) Reset

func (x *UpdateTplResp) Reset()

func (*UpdateTplResp) String

func (x *UpdateTplResp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL