Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type ListApiKeyResponse
- func (*ListApiKeyResponse) Descriptor() ([]byte, []int)
- func (m *ListApiKeyResponse) GetCode() int32
- func (m *ListApiKeyResponse) GetData() []*types.Struct
- func (m *ListApiKeyResponse) GetError() string
- func (m *ListApiKeyResponse) GetMessage() string
- func (*ListApiKeyResponse) ProtoMessage()
- func (m *ListApiKeyResponse) Reset()
- func (m *ListApiKeyResponse) String() string
- func (this *ListApiKeyResponse) Validate() error
- func (m *ListApiKeyResponse) XXX_DiscardUnknown()
- func (m *ListApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApiKeyResponse) XXX_Merge(src proto.Message)
- func (m *ListApiKeyResponse) XXX_Size() int
- func (m *ListApiKeyResponse) XXX_Unmarshal(b []byte) error
- type ListApiKeyResponseWrapper
- func (*ListApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListApiKeyResponseWrapper) GetCode() int32
- func (m *ListApiKeyResponseWrapper) GetCodeExplain() string
- func (m *ListApiKeyResponseWrapper) GetData() *ListApiKeyResponse
- func (m *ListApiKeyResponseWrapper) GetError() string
- func (*ListApiKeyResponseWrapper) ProtoMessage()
- func (m *ListApiKeyResponseWrapper) Reset()
- func (m *ListApiKeyResponseWrapper) String() string
- func (this *ListApiKeyResponseWrapper) Validate() error
- func (m *ListApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *ListApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListApiKeyResponseWrapper) XXX_Size() int
- func (m *ListApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
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 {
ListApiKey(ctx context.Context, in *types.Empty) (*ListApiKeyResponse, error)
}
Client is the client API for user_service_ctrl 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 ListApiKeyResponse ¶
type ListApiKeyResponse struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //错误信息 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"` // //返回消息 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"` // //key列表 Data []*types.Struct `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListApiKey返回
func (*ListApiKeyResponse) Descriptor ¶
func (*ListApiKeyResponse) Descriptor() ([]byte, []int)
func (*ListApiKeyResponse) GetCode ¶
func (m *ListApiKeyResponse) GetCode() int32
func (*ListApiKeyResponse) GetData ¶
func (m *ListApiKeyResponse) GetData() []*types.Struct
func (*ListApiKeyResponse) GetError ¶
func (m *ListApiKeyResponse) GetError() string
func (*ListApiKeyResponse) GetMessage ¶
func (m *ListApiKeyResponse) GetMessage() string
func (*ListApiKeyResponse) ProtoMessage ¶
func (*ListApiKeyResponse) ProtoMessage()
func (*ListApiKeyResponse) Reset ¶
func (m *ListApiKeyResponse) Reset()
func (*ListApiKeyResponse) String ¶
func (m *ListApiKeyResponse) String() string
func (*ListApiKeyResponse) Validate ¶
func (this *ListApiKeyResponse) Validate() error
func (*ListApiKeyResponse) XXX_DiscardUnknown ¶
func (m *ListApiKeyResponse) XXX_DiscardUnknown()
func (*ListApiKeyResponse) XXX_Marshal ¶
func (m *ListApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApiKeyResponse) XXX_Merge ¶
func (m *ListApiKeyResponse) XXX_Merge(src proto.Message)
func (*ListApiKeyResponse) XXX_Size ¶
func (m *ListApiKeyResponse) XXX_Size() int
func (*ListApiKeyResponse) XXX_Unmarshal ¶
func (m *ListApiKeyResponse) XXX_Unmarshal(b []byte) error
type ListApiKeyResponseWrapper ¶
type ListApiKeyResponseWrapper 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 *ListApiKeyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListApiKeyApi返回
func (*ListApiKeyResponseWrapper) Descriptor ¶
func (*ListApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*ListApiKeyResponseWrapper) GetCode ¶
func (m *ListApiKeyResponseWrapper) GetCode() int32
func (*ListApiKeyResponseWrapper) GetCodeExplain ¶
func (m *ListApiKeyResponseWrapper) GetCodeExplain() string
func (*ListApiKeyResponseWrapper) GetData ¶
func (m *ListApiKeyResponseWrapper) GetData() *ListApiKeyResponse
func (*ListApiKeyResponseWrapper) GetError ¶
func (m *ListApiKeyResponseWrapper) GetError() string
func (*ListApiKeyResponseWrapper) ProtoMessage ¶
func (*ListApiKeyResponseWrapper) ProtoMessage()
func (*ListApiKeyResponseWrapper) Reset ¶
func (m *ListApiKeyResponseWrapper) Reset()
func (*ListApiKeyResponseWrapper) String ¶
func (m *ListApiKeyResponseWrapper) String() string
func (*ListApiKeyResponseWrapper) Validate ¶
func (this *ListApiKeyResponseWrapper) Validate() error
func (*ListApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*ListApiKeyResponseWrapper) XXX_Marshal ¶
func (m *ListApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApiKeyResponseWrapper) XXX_Merge ¶
func (m *ListApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*ListApiKeyResponseWrapper) XXX_Size ¶
func (m *ListApiKeyResponseWrapper) XXX_Size() int
func (*ListApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *ListApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.