v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

app/service/main/sms/api/api.proto

It has these top-level messages:

AddTemplateReply
AddTemplateReq
TemplateListReply
TemplateListReq
UpdateTemplateReply
UpdateTemplateReq
SendReply
SendReq
SendBatchReply
SendBatchReq
AddTaskReq
AddTaskReply
UpdateTaskReq
UpdateTaskReply
DeleteTaskReq
DeleteTaskReply
TaskInfoReq
TaskInfoReply
TaskListReq
TaskListReply

Index

Constants

View Source
const AppID = "sms.service"

AppID .

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterSmsServer

func RegisterSmsServer(s *grpc.Server, srv SmsServer)

Types

type AddTaskReply

type AddTaskReply struct {
}

func (*AddTaskReply) Descriptor

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

func (*AddTaskReply) Marshal

func (m *AddTaskReply) Marshal() (dAtA []byte, err error)

func (*AddTaskReply) MarshalTo

func (m *AddTaskReply) MarshalTo(dAtA []byte) (int, error)

func (*AddTaskReply) ProtoMessage

func (*AddTaskReply) ProtoMessage()

func (*AddTaskReply) Reset

func (m *AddTaskReply) Reset()

func (*AddTaskReply) Size

func (m *AddTaskReply) Size() (n int)

func (*AddTaskReply) String

func (m *AddTaskReply) String() string

func (*AddTaskReply) Unmarshal

func (m *AddTaskReply) Unmarshal(dAtA []byte) error

type AddTaskReq

type AddTaskReq struct {
	Type         int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required,min=1"`
	BusinessID   int32  `protobuf:"varint,2,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty" form:"business_id"`
	TemplateCode string `` /* 138-byte string literal not displayed */
	Desc         string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty" form:"desc"`
	FileName     string `protobuf:"bytes,5,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty" form:"file_name" validate:"required"`
	FilePath     string `protobuf:"bytes,6,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty" form:"file_path" validate:"required"`
	SendTime     int64  `` /* 129-byte string literal not displayed */
}

func (*AddTaskReq) Descriptor

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

func (*AddTaskReq) GetBusinessID

func (m *AddTaskReq) GetBusinessID() int32

func (*AddTaskReq) GetDesc

func (m *AddTaskReq) GetDesc() string

func (*AddTaskReq) GetFileName

func (m *AddTaskReq) GetFileName() string

func (*AddTaskReq) GetFilePath

func (m *AddTaskReq) GetFilePath() string

func (*AddTaskReq) GetSendTime

func (m *AddTaskReq) GetSendTime() int64

func (*AddTaskReq) GetTemplateCode

func (m *AddTaskReq) GetTemplateCode() string

func (*AddTaskReq) GetType

func (m *AddTaskReq) GetType() int32

func (*AddTaskReq) Marshal

func (m *AddTaskReq) Marshal() (dAtA []byte, err error)

func (*AddTaskReq) MarshalTo

func (m *AddTaskReq) MarshalTo(dAtA []byte) (int, error)

func (*AddTaskReq) ProtoMessage

func (*AddTaskReq) ProtoMessage()

func (*AddTaskReq) Reset

func (m *AddTaskReq) Reset()

func (*AddTaskReq) Size

func (m *AddTaskReq) Size() (n int)

func (*AddTaskReq) String

func (m *AddTaskReq) String() string

func (*AddTaskReq) Unmarshal

func (m *AddTaskReq) Unmarshal(dAtA []byte) error

type AddTemplateReply

type AddTemplateReply struct {
}

func (*AddTemplateReply) Descriptor

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

func (*AddTemplateReply) Marshal

func (m *AddTemplateReply) Marshal() (dAtA []byte, err error)

func (*AddTemplateReply) MarshalTo

func (m *AddTemplateReply) MarshalTo(dAtA []byte) (int, error)

func (*AddTemplateReply) ProtoMessage

func (*AddTemplateReply) ProtoMessage()

func (*AddTemplateReply) Reset

func (m *AddTemplateReply) Reset()

func (*AddTemplateReply) Size

func (m *AddTemplateReply) Size() (n int)

func (*AddTemplateReply) String

func (m *AddTemplateReply) String() string

func (*AddTemplateReply) Unmarshal

func (m *AddTemplateReply) Unmarshal(dAtA []byte) error

type AddTemplateReq

type AddTemplateReq struct {
	Stype     int32  `protobuf:"varint,1,opt,name=stype,proto3" json:"stype,omitempty" form:"type" validate:"required,min=1"`
	Tcode     string `protobuf:"bytes,2,opt,name=tcode,proto3" json:"tcode,omitempty" form:"code" validate:"required"`
	Template  string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty" form:"content" validate:"required"`
	Submitter string `protobuf:"bytes,5,opt,name=submitter,proto3" json:"submitter,omitempty" form:"submitter"`
}

func (*AddTemplateReq) Descriptor

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

func (*AddTemplateReq) GetStype

func (m *AddTemplateReq) GetStype() int32

func (*AddTemplateReq) GetSubmitter

func (m *AddTemplateReq) GetSubmitter() string

func (*AddTemplateReq) GetTcode

func (m *AddTemplateReq) GetTcode() string

func (*AddTemplateReq) GetTemplate

func (m *AddTemplateReq) GetTemplate() string

func (*AddTemplateReq) Marshal

func (m *AddTemplateReq) Marshal() (dAtA []byte, err error)

func (*AddTemplateReq) MarshalTo

func (m *AddTemplateReq) MarshalTo(dAtA []byte) (int, error)

func (*AddTemplateReq) ProtoMessage

func (*AddTemplateReq) ProtoMessage()

func (*AddTemplateReq) Reset

func (m *AddTemplateReq) Reset()

func (*AddTemplateReq) Size

func (m *AddTemplateReq) Size() (n int)

func (*AddTemplateReq) String

func (m *AddTemplateReq) String() string

func (*AddTemplateReq) Unmarshal

func (m *AddTemplateReq) Unmarshal(dAtA []byte) error

type DeleteTaskReply

type DeleteTaskReply struct {
}

func (*DeleteTaskReply) Descriptor

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

func (*DeleteTaskReply) Marshal

func (m *DeleteTaskReply) Marshal() (dAtA []byte, err error)

func (*DeleteTaskReply) MarshalTo

func (m *DeleteTaskReply) MarshalTo(dAtA []byte) (int, error)

func (*DeleteTaskReply) ProtoMessage

func (*DeleteTaskReply) ProtoMessage()

func (*DeleteTaskReply) Reset

func (m *DeleteTaskReply) Reset()

func (*DeleteTaskReply) Size

func (m *DeleteTaskReply) Size() (n int)

func (*DeleteTaskReply) String

func (m *DeleteTaskReply) String() string

func (*DeleteTaskReply) Unmarshal

func (m *DeleteTaskReply) Unmarshal(dAtA []byte) error

type DeleteTaskReq

type DeleteTaskReq struct {
	ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
}

func (*DeleteTaskReq) Descriptor

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

func (*DeleteTaskReq) GetID

func (m *DeleteTaskReq) GetID() int64

func (*DeleteTaskReq) Marshal

func (m *DeleteTaskReq) Marshal() (dAtA []byte, err error)

func (*DeleteTaskReq) MarshalTo

func (m *DeleteTaskReq) MarshalTo(dAtA []byte) (int, error)

func (*DeleteTaskReq) ProtoMessage

func (*DeleteTaskReq) ProtoMessage()

func (*DeleteTaskReq) Reset

func (m *DeleteTaskReq) Reset()

func (*DeleteTaskReq) Size

func (m *DeleteTaskReq) Size() (n int)

func (*DeleteTaskReq) String

func (m *DeleteTaskReq) String() string

func (*DeleteTaskReq) Unmarshal

func (m *DeleteTaskReq) Unmarshal(dAtA []byte) error

type SendBatchReply

type SendBatchReply struct {
}

func (*SendBatchReply) Descriptor

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

func (*SendBatchReply) Marshal

func (m *SendBatchReply) Marshal() (dAtA []byte, err error)

func (*SendBatchReply) MarshalTo

func (m *SendBatchReply) MarshalTo(dAtA []byte) (int, error)

func (*SendBatchReply) ProtoMessage

func (*SendBatchReply) ProtoMessage()

func (*SendBatchReply) Reset

func (m *SendBatchReply) Reset()

func (*SendBatchReply) Size

func (m *SendBatchReply) Size() (n int)

func (*SendBatchReply) String

func (m *SendBatchReply) String() string

func (*SendBatchReply) Unmarshal

func (m *SendBatchReply) Unmarshal(dAtA []byte) error

type SendBatchReq

type SendBatchReq struct {
	Mids    []int64  `protobuf:"varint,1,rep,packed,name=mids" json:"mids,omitempty" form:"mids,split"`
	Mobiles []string `protobuf:"bytes,2,rep,name=mobiles" json:"mobiles,omitempty" form:"mobiles,split"`
	Tcode   string   `protobuf:"bytes,3,opt,name=tcode,proto3" json:"tcode,omitempty" form:"tcode"`
	Tparam  string   `protobuf:"bytes,4,opt,name=tparam,proto3" json:"tparam,omitempty" form:"tparam"`
}

func (*SendBatchReq) Descriptor

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

func (*SendBatchReq) GetMids

func (m *SendBatchReq) GetMids() []int64

func (*SendBatchReq) GetMobiles

func (m *SendBatchReq) GetMobiles() []string

func (*SendBatchReq) GetTcode

func (m *SendBatchReq) GetTcode() string

func (*SendBatchReq) GetTparam

func (m *SendBatchReq) GetTparam() string

func (*SendBatchReq) Marshal

func (m *SendBatchReq) Marshal() (dAtA []byte, err error)

func (*SendBatchReq) MarshalTo

func (m *SendBatchReq) MarshalTo(dAtA []byte) (int, error)

func (*SendBatchReq) ProtoMessage

func (*SendBatchReq) ProtoMessage()

func (*SendBatchReq) Reset

func (m *SendBatchReq) Reset()

func (*SendBatchReq) Size

func (m *SendBatchReq) Size() (n int)

func (*SendBatchReq) String

func (m *SendBatchReq) String() string

func (*SendBatchReq) Unmarshal

func (m *SendBatchReq) Unmarshal(dAtA []byte) error

type SendReply

type SendReply struct {
}

func (*SendReply) Descriptor

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

func (*SendReply) Marshal

func (m *SendReply) Marshal() (dAtA []byte, err error)

func (*SendReply) MarshalTo

func (m *SendReply) MarshalTo(dAtA []byte) (int, error)

func (*SendReply) ProtoMessage

func (*SendReply) ProtoMessage()

func (*SendReply) Reset

func (m *SendReply) Reset()

func (*SendReply) Size

func (m *SendReply) Size() (n int)

func (*SendReply) String

func (m *SendReply) String() string

func (*SendReply) Unmarshal

func (m *SendReply) Unmarshal(dAtA []byte) error

type SendReq

type SendReq struct {
	Mid     int64  `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid"`
	Mobile  string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty" form:"mobile"`
	Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty" form:"country"`
	Tcode   string `protobuf:"bytes,4,opt,name=tcode,proto3" json:"tcode,omitempty" form:"tcode"`
	Tparam  string `protobuf:"bytes,5,opt,name=tparam,proto3" json:"tparam,omitempty" form:"tparam"`
}

func (*SendReq) Descriptor

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

func (*SendReq) GetCountry

func (m *SendReq) GetCountry() string

func (*SendReq) GetMid

func (m *SendReq) GetMid() int64

func (*SendReq) GetMobile

func (m *SendReq) GetMobile() string

func (*SendReq) GetTcode

func (m *SendReq) GetTcode() string

func (*SendReq) GetTparam

func (m *SendReq) GetTparam() string

func (*SendReq) Marshal

func (m *SendReq) Marshal() (dAtA []byte, err error)

func (*SendReq) MarshalTo

func (m *SendReq) MarshalTo(dAtA []byte) (int, error)

func (*SendReq) ProtoMessage

func (*SendReq) ProtoMessage()

func (*SendReq) Reset

func (m *SendReq) Reset()

func (*SendReq) Size

func (m *SendReq) Size() (n int)

func (*SendReq) String

func (m *SendReq) String() string

func (*SendReq) Unmarshal

func (m *SendReq) Unmarshal(dAtA []byte) error

type SmsClient

type SmsClient interface {
	// Send send sms
	Send(ctx context.Context, in *SendReq, opts ...grpc.CallOption) (*SendReply, error)
	// SendBatch send sms batch
	SendBatch(ctx context.Context, in *SendBatchReq, opts ...grpc.CallOption) (*SendBatchReply, error)
}

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (SmsClient, error)

NewClient new grpc client

func NewSmsClient

func NewSmsClient(cc *grpc.ClientConn) SmsClient

type SmsServer

type SmsServer interface {
	// Send send sms
	Send(context.Context, *SendReq) (*SendReply, error)
	// SendBatch send sms batch
	SendBatch(context.Context, *SendBatchReq) (*SendBatchReply, error)
}

type TaskInfoReply

type TaskInfoReply struct {
	Info *sms_service_model.ModelTask `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}

func (*TaskInfoReply) Descriptor

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

func (*TaskInfoReply) GetInfo

func (*TaskInfoReply) Marshal

func (m *TaskInfoReply) Marshal() (dAtA []byte, err error)

func (*TaskInfoReply) MarshalTo

func (m *TaskInfoReply) MarshalTo(dAtA []byte) (int, error)

func (*TaskInfoReply) ProtoMessage

func (*TaskInfoReply) ProtoMessage()

func (*TaskInfoReply) Reset

func (m *TaskInfoReply) Reset()

func (*TaskInfoReply) Size

func (m *TaskInfoReply) Size() (n int)

func (*TaskInfoReply) String

func (m *TaskInfoReply) String() string

func (*TaskInfoReply) Unmarshal

func (m *TaskInfoReply) Unmarshal(dAtA []byte) error

type TaskInfoReq

type TaskInfoReq struct {
	ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
}

func (*TaskInfoReq) Descriptor

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

func (*TaskInfoReq) GetID

func (m *TaskInfoReq) GetID() int64

func (*TaskInfoReq) Marshal

func (m *TaskInfoReq) Marshal() (dAtA []byte, err error)

func (*TaskInfoReq) MarshalTo

func (m *TaskInfoReq) MarshalTo(dAtA []byte) (int, error)

func (*TaskInfoReq) ProtoMessage

func (*TaskInfoReq) ProtoMessage()

func (*TaskInfoReq) Reset

func (m *TaskInfoReq) Reset()

func (*TaskInfoReq) Size

func (m *TaskInfoReq) Size() (n int)

func (*TaskInfoReq) String

func (m *TaskInfoReq) String() string

func (*TaskInfoReq) Unmarshal

func (m *TaskInfoReq) Unmarshal(dAtA []byte) error

type TaskListReply

type TaskListReply struct {
	List  []*sms_service_model.ModelTask `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	Total int32                          `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
}

func (*TaskListReply) Descriptor

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

func (*TaskListReply) GetList

func (m *TaskListReply) GetList() []*sms_service_model.ModelTask

func (*TaskListReply) GetTotal

func (m *TaskListReply) GetTotal() int32

func (*TaskListReply) Marshal

func (m *TaskListReply) Marshal() (dAtA []byte, err error)

func (*TaskListReply) MarshalTo

func (m *TaskListReply) MarshalTo(dAtA []byte) (int, error)

func (*TaskListReply) ProtoMessage

func (*TaskListReply) ProtoMessage()

func (*TaskListReply) Reset

func (m *TaskListReply) Reset()

func (*TaskListReply) Size

func (m *TaskListReply) Size() (n int)

func (*TaskListReply) String

func (m *TaskListReply) String() string

func (*TaskListReply) Unmarshal

func (m *TaskListReply) Unmarshal(dAtA []byte) error

type TaskListReq

type TaskListReq struct {
	Pn int32 `protobuf:"varint,1,opt,name=pn,proto3" json:"pn,omitempty" form:"pn" default:"1"`
	Ps int32 `protobuf:"varint,2,opt,name=ps,proto3" json:"ps,omitempty" form:"ps" default:"20"`
}

func (*TaskListReq) Descriptor

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

func (*TaskListReq) GetPn

func (m *TaskListReq) GetPn() int32

func (*TaskListReq) GetPs

func (m *TaskListReq) GetPs() int32

func (*TaskListReq) Marshal

func (m *TaskListReq) Marshal() (dAtA []byte, err error)

func (*TaskListReq) MarshalTo

func (m *TaskListReq) MarshalTo(dAtA []byte) (int, error)

func (*TaskListReq) ProtoMessage

func (*TaskListReq) ProtoMessage()

func (*TaskListReq) Reset

func (m *TaskListReq) Reset()

func (*TaskListReq) Size

func (m *TaskListReq) Size() (n int)

func (*TaskListReq) String

func (m *TaskListReq) String() string

func (*TaskListReq) Unmarshal

func (m *TaskListReq) Unmarshal(dAtA []byte) error

type TemplateListReply

type TemplateListReply struct {
	List  []*sms_service_model.ModelTemplate `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	Total int32                              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
}

func (*TemplateListReply) Descriptor

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

func (*TemplateListReply) GetList

func (*TemplateListReply) GetTotal

func (m *TemplateListReply) GetTotal() int32

func (*TemplateListReply) Marshal

func (m *TemplateListReply) Marshal() (dAtA []byte, err error)

func (*TemplateListReply) MarshalTo

func (m *TemplateListReply) MarshalTo(dAtA []byte) (int, error)

func (*TemplateListReply) ProtoMessage

func (*TemplateListReply) ProtoMessage()

func (*TemplateListReply) Reset

func (m *TemplateListReply) Reset()

func (*TemplateListReply) Size

func (m *TemplateListReply) Size() (n int)

func (*TemplateListReply) String

func (m *TemplateListReply) String() string

func (*TemplateListReply) Unmarshal

func (m *TemplateListReply) Unmarshal(dAtA []byte) error

type TemplateListReq

type TemplateListReq struct {
	Pn int32  `protobuf:"varint,1,opt,name=pn,proto3" json:"pn,omitempty" form:"pn" default:"1"`
	Ps int32  `protobuf:"varint,2,opt,name=ps,proto3" json:"ps,omitempty" form:"ps" default:"10"`
	St string `protobuf:"bytes,3,opt,name=st,proto3" json:"st,omitempty" form:"st"`
	Sw string `protobuf:"bytes,4,opt,name=sw,proto3" json:"sw,omitempty" form:"sw"`
}

func (*TemplateListReq) Descriptor

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

func (*TemplateListReq) GetPn

func (m *TemplateListReq) GetPn() int32

func (*TemplateListReq) GetPs

func (m *TemplateListReq) GetPs() int32

func (*TemplateListReq) GetSt

func (m *TemplateListReq) GetSt() string

func (*TemplateListReq) GetSw

func (m *TemplateListReq) GetSw() string

func (*TemplateListReq) Marshal

func (m *TemplateListReq) Marshal() (dAtA []byte, err error)

func (*TemplateListReq) MarshalTo

func (m *TemplateListReq) MarshalTo(dAtA []byte) (int, error)

func (*TemplateListReq) ProtoMessage

func (*TemplateListReq) ProtoMessage()

func (*TemplateListReq) Reset

func (m *TemplateListReq) Reset()

func (*TemplateListReq) Size

func (m *TemplateListReq) Size() (n int)

func (*TemplateListReq) String

func (m *TemplateListReq) String() string

func (*TemplateListReq) Unmarshal

func (m *TemplateListReq) Unmarshal(dAtA []byte) error

type UpdateTaskReply

type UpdateTaskReply struct {
}

func (*UpdateTaskReply) Descriptor

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

func (*UpdateTaskReply) Marshal

func (m *UpdateTaskReply) Marshal() (dAtA []byte, err error)

func (*UpdateTaskReply) MarshalTo

func (m *UpdateTaskReply) MarshalTo(dAtA []byte) (int, error)

func (*UpdateTaskReply) ProtoMessage

func (*UpdateTaskReply) ProtoMessage()

func (*UpdateTaskReply) Reset

func (m *UpdateTaskReply) Reset()

func (*UpdateTaskReply) Size

func (m *UpdateTaskReply) Size() (n int)

func (*UpdateTaskReply) String

func (m *UpdateTaskReply) String() string

func (*UpdateTaskReply) Unmarshal

func (m *UpdateTaskReply) Unmarshal(dAtA []byte) error

type UpdateTaskReq

type UpdateTaskReq struct {
	ID           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id"`
	Type         int32  `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty" form:"type" validate:"required,min=1"`
	BusinessID   int32  `protobuf:"varint,3,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty" form:"business_id"`
	TemplateCode string `` /* 138-byte string literal not displayed */
	Desc         string `protobuf:"bytes,5,opt,name=desc,proto3" json:"desc,omitempty" form:"desc"`
	FileName     string `protobuf:"bytes,6,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty" form:"file_name" validate:"required"`
	FilePath     string `protobuf:"bytes,7,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty" form:"file_path" validate:"required"`
	SendTime     int64  `` /* 129-byte string literal not displayed */
}

func (*UpdateTaskReq) Descriptor

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

func (*UpdateTaskReq) GetBusinessID

func (m *UpdateTaskReq) GetBusinessID() int32

func (*UpdateTaskReq) GetDesc

func (m *UpdateTaskReq) GetDesc() string

func (*UpdateTaskReq) GetFileName

func (m *UpdateTaskReq) GetFileName() string

func (*UpdateTaskReq) GetFilePath

func (m *UpdateTaskReq) GetFilePath() string

func (*UpdateTaskReq) GetID

func (m *UpdateTaskReq) GetID() int64

func (*UpdateTaskReq) GetSendTime

func (m *UpdateTaskReq) GetSendTime() int64

func (*UpdateTaskReq) GetTemplateCode

func (m *UpdateTaskReq) GetTemplateCode() string

func (*UpdateTaskReq) GetType

func (m *UpdateTaskReq) GetType() int32

func (*UpdateTaskReq) Marshal

func (m *UpdateTaskReq) Marshal() (dAtA []byte, err error)

func (*UpdateTaskReq) MarshalTo

func (m *UpdateTaskReq) MarshalTo(dAtA []byte) (int, error)

func (*UpdateTaskReq) ProtoMessage

func (*UpdateTaskReq) ProtoMessage()

func (*UpdateTaskReq) Reset

func (m *UpdateTaskReq) Reset()

func (*UpdateTaskReq) Size

func (m *UpdateTaskReq) Size() (n int)

func (*UpdateTaskReq) String

func (m *UpdateTaskReq) String() string

func (*UpdateTaskReq) Unmarshal

func (m *UpdateTaskReq) Unmarshal(dAtA []byte) error

type UpdateTemplateReply

type UpdateTemplateReply struct {
}

func (*UpdateTemplateReply) Descriptor

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

func (*UpdateTemplateReply) Marshal

func (m *UpdateTemplateReply) Marshal() (dAtA []byte, err error)

func (*UpdateTemplateReply) MarshalTo

func (m *UpdateTemplateReply) MarshalTo(dAtA []byte) (int, error)

func (*UpdateTemplateReply) ProtoMessage

func (*UpdateTemplateReply) ProtoMessage()

func (*UpdateTemplateReply) Reset

func (m *UpdateTemplateReply) Reset()

func (*UpdateTemplateReply) Size

func (m *UpdateTemplateReply) Size() (n int)

func (*UpdateTemplateReply) String

func (m *UpdateTemplateReply) String() string

func (*UpdateTemplateReply) Unmarshal

func (m *UpdateTemplateReply) Unmarshal(dAtA []byte) error

type UpdateTemplateReq

type UpdateTemplateReq struct {
	ID        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required,min=1"`
	Stype     int32  `protobuf:"varint,2,opt,name=stype,proto3" json:"stype,omitempty" form:"type" validate:"required,min=1"`
	Status    int32  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty" form:"status"`
	Tcode     string `protobuf:"bytes,4,opt,name=tcode,proto3" json:"tcode,omitempty" form:"code" validate:"required"`
	Template  string `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty" form:"content" validate:"required"`
	Submitter string `protobuf:"bytes,6,opt,name=submitter,proto3" json:"submitter,omitempty" form:"submitter"`
}

func (*UpdateTemplateReq) Descriptor

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

func (*UpdateTemplateReq) GetID

func (m *UpdateTemplateReq) GetID() int64

func (*UpdateTemplateReq) GetStatus

func (m *UpdateTemplateReq) GetStatus() int32

func (*UpdateTemplateReq) GetStype

func (m *UpdateTemplateReq) GetStype() int32

func (*UpdateTemplateReq) GetSubmitter

func (m *UpdateTemplateReq) GetSubmitter() string

func (*UpdateTemplateReq) GetTcode

func (m *UpdateTemplateReq) GetTcode() string

func (*UpdateTemplateReq) GetTemplate

func (m *UpdateTemplateReq) GetTemplate() string

func (*UpdateTemplateReq) Marshal

func (m *UpdateTemplateReq) Marshal() (dAtA []byte, err error)

func (*UpdateTemplateReq) MarshalTo

func (m *UpdateTemplateReq) MarshalTo(dAtA []byte) (int, error)

func (*UpdateTemplateReq) ProtoMessage

func (*UpdateTemplateReq) ProtoMessage()

func (*UpdateTemplateReq) Reset

func (m *UpdateTemplateReq) Reset()

func (*UpdateTemplateReq) Size

func (m *UpdateTemplateReq) Size() (n int)

func (*UpdateTemplateReq) String

func (m *UpdateTemplateReq) String() string

func (*UpdateTemplateReq) Unmarshal

func (m *UpdateTemplateReq) Unmarshal(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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