clazz

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

type Client interface {
	ListClazz(ctx context.Context, in *ListClazzRequest) (*ListClazzResponse, error)
}

Client is the client API for clazz service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClient

func NewClient(c giraffe_micro.Client) Client

type ListClazzRequest

type ListClazzRequest struct {
	//
	//页码
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//页大小
	PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"`
	//
	//是否启禁用
	Disabled int32 `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled" form:"disabled"`
	//
	//是否全部
	IsAll                int32    `protobuf:"varint,4,opt,name=isAll,proto3" json:"isAll" form:"isAll"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ListClazz请求

func (*ListClazzRequest) Descriptor

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

func (*ListClazzRequest) GetDisabled

func (m *ListClazzRequest) GetDisabled() int32

func (*ListClazzRequest) GetIsAll

func (m *ListClazzRequest) GetIsAll() int32

func (*ListClazzRequest) GetPage

func (m *ListClazzRequest) GetPage() int32

func (*ListClazzRequest) GetPageSize

func (m *ListClazzRequest) GetPageSize() int32

func (*ListClazzRequest) ProtoMessage

func (*ListClazzRequest) ProtoMessage()

func (*ListClazzRequest) Reset

func (m *ListClazzRequest) Reset()

func (*ListClazzRequest) String

func (m *ListClazzRequest) String() string

func (*ListClazzRequest) Validate

func (this *ListClazzRequest) Validate() error

func (*ListClazzRequest) XXX_DiscardUnknown

func (m *ListClazzRequest) XXX_DiscardUnknown()

func (*ListClazzRequest) XXX_Marshal

func (m *ListClazzRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClazzRequest) XXX_Merge

func (m *ListClazzRequest) XXX_Merge(src proto.Message)

func (*ListClazzRequest) XXX_Size

func (m *ListClazzRequest) XXX_Size() int

func (*ListClazzRequest) XXX_Unmarshal

func (m *ListClazzRequest) XXX_Unmarshal(b []byte) error

type ListClazzResponse

type ListClazzResponse struct {
	//
	//页数
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"`
	//
	//页大小
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"`
	//
	//总数
	Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"`
	//
	//数据列表
	List                 []*ListClazzResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

ListClazz返回

func (*ListClazzResponse) Descriptor

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

func (*ListClazzResponse) GetList

func (m *ListClazzResponse) GetList() []*ListClazzResponse_List

func (*ListClazzResponse) GetPage

func (m *ListClazzResponse) GetPage() int32

func (*ListClazzResponse) GetPageSize

func (m *ListClazzResponse) GetPageSize() int32

func (*ListClazzResponse) GetTotal

func (m *ListClazzResponse) GetTotal() int32

func (*ListClazzResponse) ProtoMessage

func (*ListClazzResponse) ProtoMessage()

func (*ListClazzResponse) Reset

func (m *ListClazzResponse) Reset()

func (*ListClazzResponse) String

func (m *ListClazzResponse) String() string

func (*ListClazzResponse) Validate

func (this *ListClazzResponse) Validate() error

func (*ListClazzResponse) XXX_DiscardUnknown

func (m *ListClazzResponse) XXX_DiscardUnknown()

func (*ListClazzResponse) XXX_Marshal

func (m *ListClazzResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClazzResponse) XXX_Merge

func (m *ListClazzResponse) XXX_Merge(src proto.Message)

func (*ListClazzResponse) XXX_Size

func (m *ListClazzResponse) XXX_Size() int

func (*ListClazzResponse) XXX_Unmarshal

func (m *ListClazzResponse) XXX_Unmarshal(b []byte) error

type ListClazzResponseWrapper

type ListClazzResponseWrapper struct {
	//
	//返回码
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
	//
	//返回码解释
	CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
	//
	//错误详情
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
	//
	//返回数据
	Data                 *ListClazzResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

ListClazzApi返回

func (*ListClazzResponseWrapper) Descriptor

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

func (*ListClazzResponseWrapper) GetCode

func (m *ListClazzResponseWrapper) GetCode() int32

func (*ListClazzResponseWrapper) GetCodeExplain

func (m *ListClazzResponseWrapper) GetCodeExplain() string

func (*ListClazzResponseWrapper) GetData

func (*ListClazzResponseWrapper) GetError

func (m *ListClazzResponseWrapper) GetError() string

func (*ListClazzResponseWrapper) ProtoMessage

func (*ListClazzResponseWrapper) ProtoMessage()

func (*ListClazzResponseWrapper) Reset

func (m *ListClazzResponseWrapper) Reset()

func (*ListClazzResponseWrapper) String

func (m *ListClazzResponseWrapper) String() string

func (*ListClazzResponseWrapper) Validate

func (this *ListClazzResponseWrapper) Validate() error

func (*ListClazzResponseWrapper) XXX_DiscardUnknown

func (m *ListClazzResponseWrapper) XXX_DiscardUnknown()

func (*ListClazzResponseWrapper) XXX_Marshal

func (m *ListClazzResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClazzResponseWrapper) XXX_Merge

func (m *ListClazzResponseWrapper) XXX_Merge(src proto.Message)

func (*ListClazzResponseWrapper) XXX_Size

func (m *ListClazzResponseWrapper) XXX_Size() int

func (*ListClazzResponseWrapper) XXX_Unmarshal

func (m *ListClazzResponseWrapper) XXX_Unmarshal(b []byte) error

type ListClazzResponse_List

type ListClazzResponse_List struct {
	//
	//ORG
	Org int32 `protobuf:"varint,1,opt,name=org,proto3" json:"org" form:"org"`
	//
	//Id
	Id string `protobuf:"bytes,2,opt,name=Id,proto3" json:"Id" form:"Id"`
	//
	//名称
	Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name" form:"Name"`
	//
	//数据ID
	DataId string `protobuf:"bytes,4,opt,name=dataId,proto3" json:"dataId" form:"dataId"`
	//
	//启禁用
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled" form:"disabled"`
	//
	//执行方法
	Fun string `protobuf:"bytes,6,opt,name=fun,proto3" json:"fun" form:"fun"`
	//
	//是否要求脚本
	RequiredScript bool `protobuf:"varint,7,opt,name=requiredScript,proto3" json:"requiredScript" form:"requiredScript"`
	//
	//数据要求字段
	RequiredFields []string `protobuf:"bytes,8,rep,name=requiredFields,proto3" json:"requiredFields" form:"requiredFields"`
	//
	//创建者
	Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator" form:"creator"`
	//
	//修改者
	Modifer string `protobuf:"bytes,10,opt,name=modifer,proto3" json:"modifer" form:"modifer"`
	//
	//创建时间
	Ctime int32 `protobuf:"varint,11,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
	//
	//修改时间
	Mtime                int32    `protobuf:"varint,12,opt,name=mtime,proto3" json:"mtime" form:"mtime"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClazzResponse_List) Descriptor

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

func (*ListClazzResponse_List) GetCreator

func (m *ListClazzResponse_List) GetCreator() string

func (*ListClazzResponse_List) GetCtime

func (m *ListClazzResponse_List) GetCtime() int32

func (*ListClazzResponse_List) GetDataId

func (m *ListClazzResponse_List) GetDataId() string

func (*ListClazzResponse_List) GetDisabled

func (m *ListClazzResponse_List) GetDisabled() bool

func (*ListClazzResponse_List) GetFun

func (m *ListClazzResponse_List) GetFun() string

func (*ListClazzResponse_List) GetId

func (m *ListClazzResponse_List) GetId() string

func (*ListClazzResponse_List) GetModifer

func (m *ListClazzResponse_List) GetModifer() string

func (*ListClazzResponse_List) GetMtime

func (m *ListClazzResponse_List) GetMtime() int32

func (*ListClazzResponse_List) GetName

func (m *ListClazzResponse_List) GetName() string

func (*ListClazzResponse_List) GetOrg

func (m *ListClazzResponse_List) GetOrg() int32

func (*ListClazzResponse_List) GetRequiredFields

func (m *ListClazzResponse_List) GetRequiredFields() []string

func (*ListClazzResponse_List) GetRequiredScript

func (m *ListClazzResponse_List) GetRequiredScript() bool

func (*ListClazzResponse_List) ProtoMessage

func (*ListClazzResponse_List) ProtoMessage()

func (*ListClazzResponse_List) Reset

func (m *ListClazzResponse_List) Reset()

func (*ListClazzResponse_List) String

func (m *ListClazzResponse_List) String() string

func (*ListClazzResponse_List) Validate

func (this *ListClazzResponse_List) Validate() error

func (*ListClazzResponse_List) XXX_DiscardUnknown

func (m *ListClazzResponse_List) XXX_DiscardUnknown()

func (*ListClazzResponse_List) XXX_Marshal

func (m *ListClazzResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClazzResponse_List) XXX_Merge

func (m *ListClazzResponse_List) XXX_Merge(src proto.Message)

func (*ListClazzResponse_List) XXX_Size

func (m *ListClazzResponse_List) XXX_Size() int

func (*ListClazzResponse_List) XXX_Unmarshal

func (m *ListClazzResponse_List) XXX_Unmarshal(b []byte) error

type Service

type Service interface {
	ListClazz(context.Context, *ListClazzRequest) (*ListClazzResponse, error)
}

Service is the server API for clazz service.

Jump to

Keyboard shortcuts

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