Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateApiKeyRequest
- func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *CreateApiKeyRequest) GetUser() string
- func (*CreateApiKeyRequest) ProtoMessage()
- func (m *CreateApiKeyRequest) Reset()
- func (m *CreateApiKeyRequest) String() string
- func (this *CreateApiKeyRequest) Validate() error
- func (m *CreateApiKeyRequest) XXX_DiscardUnknown()
- func (m *CreateApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *CreateApiKeyRequest) XXX_Size() int
- func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error
- type CreateApiKeyResponse
- func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)
- func (m *CreateApiKeyResponse) GetAccessKey() string
- func (m *CreateApiKeyResponse) GetCtime() string
- func (m *CreateApiKeyResponse) GetOrg() int32
- func (m *CreateApiKeyResponse) GetSecretKey() string
- func (m *CreateApiKeyResponse) GetState() string
- func (m *CreateApiKeyResponse) GetTs() int32
- func (m *CreateApiKeyResponse) GetUser() string
- func (*CreateApiKeyResponse) ProtoMessage()
- func (m *CreateApiKeyResponse) Reset()
- func (m *CreateApiKeyResponse) String() string
- func (this *CreateApiKeyResponse) Validate() error
- func (m *CreateApiKeyResponse) XXX_DiscardUnknown()
- func (m *CreateApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateApiKeyResponse) XXX_Merge(src proto.Message)
- func (m *CreateApiKeyResponse) XXX_Size() int
- func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error
- type CreateApiKeyResponseWrapper
- func (*CreateApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateApiKeyResponseWrapper) GetCode() int32
- func (m *CreateApiKeyResponseWrapper) GetCodeExplain() string
- func (m *CreateApiKeyResponseWrapper) GetData() *CreateApiKeyResponse
- func (m *CreateApiKeyResponseWrapper) GetError() string
- func (*CreateApiKeyResponseWrapper) ProtoMessage()
- func (m *CreateApiKeyResponseWrapper) Reset()
- func (m *CreateApiKeyResponseWrapper) String() string
- func (this *CreateApiKeyResponseWrapper) Validate() error
- func (m *CreateApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateApiKeyResponseWrapper) XXX_Size() int
- func (m *CreateApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteApiKeyRequest
- func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *DeleteApiKeyRequest) GetAccessKey() string
- func (*DeleteApiKeyRequest) ProtoMessage()
- func (m *DeleteApiKeyRequest) Reset()
- func (m *DeleteApiKeyRequest) String() string
- func (this *DeleteApiKeyRequest) Validate() error
- func (m *DeleteApiKeyRequest) XXX_DiscardUnknown()
- func (m *DeleteApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *DeleteApiKeyRequest) XXX_Size() int
- func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error
- type DeleteApiKeyResponseWrapper
- func (*DeleteApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteApiKeyResponseWrapper) GetCode() int32
- func (m *DeleteApiKeyResponseWrapper) GetCodeExplain() string
- func (m *DeleteApiKeyResponseWrapper) GetData() *types.Empty
- func (m *DeleteApiKeyResponseWrapper) GetError() string
- func (*DeleteApiKeyResponseWrapper) ProtoMessage()
- func (m *DeleteApiKeyResponseWrapper) Reset()
- func (m *DeleteApiKeyResponseWrapper) String() string
- func (this *DeleteApiKeyResponseWrapper) Validate() error
- func (m *DeleteApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteApiKeyResponseWrapper) XXX_Size() int
- func (m *DeleteApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type DisableApiKeyRequest
- func (*DisableApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *DisableApiKeyRequest) GetAccessKey() string
- func (*DisableApiKeyRequest) ProtoMessage()
- func (m *DisableApiKeyRequest) Reset()
- func (m *DisableApiKeyRequest) String() string
- func (this *DisableApiKeyRequest) Validate() error
- func (m *DisableApiKeyRequest) XXX_DiscardUnknown()
- func (m *DisableApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisableApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *DisableApiKeyRequest) XXX_Size() int
- func (m *DisableApiKeyRequest) XXX_Unmarshal(b []byte) error
- type DisableApiKeyResponseWrapper
- func (*DisableApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DisableApiKeyResponseWrapper) GetCode() int32
- func (m *DisableApiKeyResponseWrapper) GetCodeExplain() string
- func (m *DisableApiKeyResponseWrapper) GetData() *types.Empty
- func (m *DisableApiKeyResponseWrapper) GetError() string
- func (*DisableApiKeyResponseWrapper) ProtoMessage()
- func (m *DisableApiKeyResponseWrapper) Reset()
- func (m *DisableApiKeyResponseWrapper) String() string
- func (this *DisableApiKeyResponseWrapper) Validate() error
- func (m *DisableApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *DisableApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisableApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DisableApiKeyResponseWrapper) XXX_Size() int
- func (m *DisableApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type EnableApiKeyRequest
- func (*EnableApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *EnableApiKeyRequest) GetAccessKey() string
- func (*EnableApiKeyRequest) ProtoMessage()
- func (m *EnableApiKeyRequest) Reset()
- func (m *EnableApiKeyRequest) String() string
- func (this *EnableApiKeyRequest) Validate() error
- func (m *EnableApiKeyRequest) XXX_DiscardUnknown()
- func (m *EnableApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnableApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *EnableApiKeyRequest) XXX_Size() int
- func (m *EnableApiKeyRequest) XXX_Unmarshal(b []byte) error
- type EnableApiKeyResponseWrapper
- func (*EnableApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *EnableApiKeyResponseWrapper) GetCode() int32
- func (m *EnableApiKeyResponseWrapper) GetCodeExplain() string
- func (m *EnableApiKeyResponseWrapper) GetData() *types.Empty
- func (m *EnableApiKeyResponseWrapper) GetError() string
- func (*EnableApiKeyResponseWrapper) ProtoMessage()
- func (m *EnableApiKeyResponseWrapper) Reset()
- func (m *EnableApiKeyResponseWrapper) String() string
- func (this *EnableApiKeyResponseWrapper) Validate() error
- func (m *EnableApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *EnableApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnableApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *EnableApiKeyResponseWrapper) XXX_Size() int
- func (m *EnableApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type GetApiKeyResponse
- func (*GetApiKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetApiKeyResponse) GetAccessKey() string
- func (m *GetApiKeyResponse) GetCtime() string
- func (m *GetApiKeyResponse) GetOrg() int32
- func (m *GetApiKeyResponse) GetSecretKey() string
- func (m *GetApiKeyResponse) GetState() string
- func (m *GetApiKeyResponse) GetTs() int32
- func (m *GetApiKeyResponse) GetUser() string
- func (*GetApiKeyResponse) ProtoMessage()
- func (m *GetApiKeyResponse) Reset()
- func (m *GetApiKeyResponse) String() string
- func (this *GetApiKeyResponse) Validate() error
- func (m *GetApiKeyResponse) XXX_DiscardUnknown()
- func (m *GetApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetApiKeyResponse) XXX_Merge(src proto.Message)
- func (m *GetApiKeyResponse) XXX_Size() int
- func (m *GetApiKeyResponse) XXX_Unmarshal(b []byte) error
- type GetApiKeyResponseWrapper
- func (*GetApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *GetApiKeyResponseWrapper) GetCode() int32
- func (m *GetApiKeyResponseWrapper) GetCodeExplain() string
- func (m *GetApiKeyResponseWrapper) GetData() *GetApiKeyResponse
- func (m *GetApiKeyResponseWrapper) GetError() string
- func (*GetApiKeyResponseWrapper) ProtoMessage()
- func (m *GetApiKeyResponseWrapper) Reset()
- func (m *GetApiKeyResponseWrapper) String() string
- func (this *GetApiKeyResponseWrapper) Validate() error
- func (m *GetApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *GetApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *GetApiKeyResponseWrapper) XXX_Size() int
- func (m *GetApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListApiKeyRequest
- func (*ListApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *ListApiKeyRequest) GetPage() int32
- func (m *ListApiKeyRequest) GetPageSize() int32
- func (*ListApiKeyRequest) ProtoMessage()
- func (m *ListApiKeyRequest) Reset()
- func (m *ListApiKeyRequest) String() string
- func (this *ListApiKeyRequest) Validate() error
- func (m *ListApiKeyRequest) XXX_DiscardUnknown()
- func (m *ListApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *ListApiKeyRequest) XXX_Size() int
- func (m *ListApiKeyRequest) XXX_Unmarshal(b []byte) error
- type ListApiKeyResponse
- func (*ListApiKeyResponse) Descriptor() ([]byte, []int)
- func (m *ListApiKeyResponse) GetList() []*ListApiKeyResponse_List
- func (m *ListApiKeyResponse) GetPage() int32
- func (m *ListApiKeyResponse) GetPageSize() int32
- func (m *ListApiKeyResponse) GetTotal() int32
- 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 ListApiKeyResponse_List
- func (*ListApiKeyResponse_List) Descriptor() ([]byte, []int)
- func (m *ListApiKeyResponse_List) GetAccessKey() string
- func (m *ListApiKeyResponse_List) GetCtime() string
- func (m *ListApiKeyResponse_List) GetOrg() int32
- func (m *ListApiKeyResponse_List) GetSecretKey() string
- func (m *ListApiKeyResponse_List) GetState() string
- func (m *ListApiKeyResponse_List) GetTs() int32
- func (m *ListApiKeyResponse_List) GetUser() string
- func (*ListApiKeyResponse_List) ProtoMessage()
- func (m *ListApiKeyResponse_List) Reset()
- func (m *ListApiKeyResponse_List) String() string
- func (this *ListApiKeyResponse_List) Validate() error
- func (m *ListApiKeyResponse_List) XXX_DiscardUnknown()
- func (m *ListApiKeyResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApiKeyResponse_List) XXX_Merge(src proto.Message)
- func (m *ListApiKeyResponse_List) XXX_Size() int
- func (m *ListApiKeyResponse_List) XXX_Unmarshal(b []byte) error
- type ResetApiKeyRequest
- func (*ResetApiKeyRequest) Descriptor() ([]byte, []int)
- func (m *ResetApiKeyRequest) GetUser() string
- func (*ResetApiKeyRequest) ProtoMessage()
- func (m *ResetApiKeyRequest) Reset()
- func (m *ResetApiKeyRequest) String() string
- func (this *ResetApiKeyRequest) Validate() error
- func (m *ResetApiKeyRequest) XXX_DiscardUnknown()
- func (m *ResetApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetApiKeyRequest) XXX_Merge(src proto.Message)
- func (m *ResetApiKeyRequest) XXX_Size() int
- func (m *ResetApiKeyRequest) XXX_Unmarshal(b []byte) error
- type ResetApiKeyResponse
- func (*ResetApiKeyResponse) Descriptor() ([]byte, []int)
- func (m *ResetApiKeyResponse) GetAccessKey() string
- func (m *ResetApiKeyResponse) GetCtime() string
- func (m *ResetApiKeyResponse) GetOrg() int32
- func (m *ResetApiKeyResponse) GetSecretKey() string
- func (m *ResetApiKeyResponse) GetState() string
- func (m *ResetApiKeyResponse) GetTs() int32
- func (m *ResetApiKeyResponse) GetUser() string
- func (*ResetApiKeyResponse) ProtoMessage()
- func (m *ResetApiKeyResponse) Reset()
- func (m *ResetApiKeyResponse) String() string
- func (this *ResetApiKeyResponse) Validate() error
- func (m *ResetApiKeyResponse) XXX_DiscardUnknown()
- func (m *ResetApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetApiKeyResponse) XXX_Merge(src proto.Message)
- func (m *ResetApiKeyResponse) XXX_Size() int
- func (m *ResetApiKeyResponse) XXX_Unmarshal(b []byte) error
- type ResetApiKeyResponseWrapper
- func (*ResetApiKeyResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ResetApiKeyResponseWrapper) GetCode() int32
- func (m *ResetApiKeyResponseWrapper) GetCodeExplain() string
- func (m *ResetApiKeyResponseWrapper) GetData() *ResetApiKeyResponse
- func (m *ResetApiKeyResponseWrapper) GetError() string
- func (*ResetApiKeyResponseWrapper) ProtoMessage()
- func (m *ResetApiKeyResponseWrapper) Reset()
- func (m *ResetApiKeyResponseWrapper) String() string
- func (this *ResetApiKeyResponseWrapper) Validate() error
- func (m *ResetApiKeyResponseWrapper) XXX_DiscardUnknown()
- func (m *ResetApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetApiKeyResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ResetApiKeyResponseWrapper) XXX_Size() int
- func (m *ResetApiKeyResponseWrapper) 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 { CreateApiKey(ctx context.Context, in *CreateApiKeyRequest) (*CreateApiKeyResponse, error) DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest) (*types.Empty, error) DisableApiKey(ctx context.Context, in *DisableApiKeyRequest) (*types.Empty, error) EnableApiKey(ctx context.Context, in *EnableApiKeyRequest) (*types.Empty, error) GetApiKey(ctx context.Context, in *types.Empty) (*GetApiKeyResponse, error) ListApiKey(ctx context.Context, in *ListApiKeyRequest) (*ListApiKeyResponse, error) ResetApiKey(ctx context.Context, in *ResetApiKeyRequest) (*ResetApiKeyResponse, error) }
Client is the client API for apikey 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 CreateApiKeyRequest ¶
type CreateApiKeyRequest struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateApiKey请求
func (*CreateApiKeyRequest) Descriptor ¶
func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)
func (*CreateApiKeyRequest) GetUser ¶
func (m *CreateApiKeyRequest) GetUser() string
func (*CreateApiKeyRequest) ProtoMessage ¶
func (*CreateApiKeyRequest) ProtoMessage()
func (*CreateApiKeyRequest) Reset ¶
func (m *CreateApiKeyRequest) Reset()
func (*CreateApiKeyRequest) String ¶
func (m *CreateApiKeyRequest) String() string
func (*CreateApiKeyRequest) Validate ¶
func (this *CreateApiKeyRequest) Validate() error
func (*CreateApiKeyRequest) XXX_DiscardUnknown ¶
func (m *CreateApiKeyRequest) XXX_DiscardUnknown()
func (*CreateApiKeyRequest) XXX_Marshal ¶
func (m *CreateApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateApiKeyRequest) XXX_Merge ¶
func (m *CreateApiKeyRequest) XXX_Merge(src proto.Message)
func (*CreateApiKeyRequest) XXX_Size ¶
func (m *CreateApiKeyRequest) XXX_Size() int
func (*CreateApiKeyRequest) XXX_Unmarshal ¶
func (m *CreateApiKeyRequest) XXX_Unmarshal(b []byte) error
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` // //access_key AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` // //secret_key SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key" form:"secret_key"` // //是否可用 State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" form:"state"` // //org Org int32 `protobuf:"varint,5,opt,name=org,proto3" json:"org" form:"org"` // //创建时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //更新时间戳 Ts int32 `protobuf:"varint,7,opt,name=ts,proto3" json:"ts" form:"ts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateApiKey返回
func (*CreateApiKeyResponse) Descriptor ¶
func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)
func (*CreateApiKeyResponse) GetAccessKey ¶
func (m *CreateApiKeyResponse) GetAccessKey() string
func (*CreateApiKeyResponse) GetCtime ¶
func (m *CreateApiKeyResponse) GetCtime() string
func (*CreateApiKeyResponse) GetOrg ¶
func (m *CreateApiKeyResponse) GetOrg() int32
func (*CreateApiKeyResponse) GetSecretKey ¶
func (m *CreateApiKeyResponse) GetSecretKey() string
func (*CreateApiKeyResponse) GetState ¶
func (m *CreateApiKeyResponse) GetState() string
func (*CreateApiKeyResponse) GetTs ¶
func (m *CreateApiKeyResponse) GetTs() int32
func (*CreateApiKeyResponse) GetUser ¶
func (m *CreateApiKeyResponse) GetUser() string
func (*CreateApiKeyResponse) ProtoMessage ¶
func (*CreateApiKeyResponse) ProtoMessage()
func (*CreateApiKeyResponse) Reset ¶
func (m *CreateApiKeyResponse) Reset()
func (*CreateApiKeyResponse) String ¶
func (m *CreateApiKeyResponse) String() string
func (*CreateApiKeyResponse) Validate ¶
func (this *CreateApiKeyResponse) Validate() error
func (*CreateApiKeyResponse) XXX_DiscardUnknown ¶
func (m *CreateApiKeyResponse) XXX_DiscardUnknown()
func (*CreateApiKeyResponse) XXX_Marshal ¶
func (m *CreateApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateApiKeyResponse) XXX_Merge ¶
func (m *CreateApiKeyResponse) XXX_Merge(src proto.Message)
func (*CreateApiKeyResponse) XXX_Size ¶
func (m *CreateApiKeyResponse) XXX_Size() int
func (*CreateApiKeyResponse) XXX_Unmarshal ¶
func (m *CreateApiKeyResponse) XXX_Unmarshal(b []byte) error
type CreateApiKeyResponseWrapper ¶
type CreateApiKeyResponseWrapper 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 *CreateApiKeyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateApiKeyApi返回
func (*CreateApiKeyResponseWrapper) Descriptor ¶
func (*CreateApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateApiKeyResponseWrapper) GetCode ¶
func (m *CreateApiKeyResponseWrapper) GetCode() int32
func (*CreateApiKeyResponseWrapper) GetCodeExplain ¶
func (m *CreateApiKeyResponseWrapper) GetCodeExplain() string
func (*CreateApiKeyResponseWrapper) GetData ¶
func (m *CreateApiKeyResponseWrapper) GetData() *CreateApiKeyResponse
func (*CreateApiKeyResponseWrapper) GetError ¶
func (m *CreateApiKeyResponseWrapper) GetError() string
func (*CreateApiKeyResponseWrapper) ProtoMessage ¶
func (*CreateApiKeyResponseWrapper) ProtoMessage()
func (*CreateApiKeyResponseWrapper) Reset ¶
func (m *CreateApiKeyResponseWrapper) Reset()
func (*CreateApiKeyResponseWrapper) String ¶
func (m *CreateApiKeyResponseWrapper) String() string
func (*CreateApiKeyResponseWrapper) Validate ¶
func (this *CreateApiKeyResponseWrapper) Validate() error
func (*CreateApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*CreateApiKeyResponseWrapper) XXX_Marshal ¶
func (m *CreateApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateApiKeyResponseWrapper) XXX_Merge ¶
func (m *CreateApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateApiKeyResponseWrapper) XXX_Size ¶
func (m *CreateApiKeyResponseWrapper) XXX_Size() int
func (*CreateApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *CreateApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteApiKeyRequest ¶
type DeleteApiKeyRequest struct { // //access_key AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteApiKey请求
func (*DeleteApiKeyRequest) Descriptor ¶
func (*DeleteApiKeyRequest) Descriptor() ([]byte, []int)
func (*DeleteApiKeyRequest) GetAccessKey ¶
func (m *DeleteApiKeyRequest) GetAccessKey() string
func (*DeleteApiKeyRequest) ProtoMessage ¶
func (*DeleteApiKeyRequest) ProtoMessage()
func (*DeleteApiKeyRequest) Reset ¶
func (m *DeleteApiKeyRequest) Reset()
func (*DeleteApiKeyRequest) String ¶
func (m *DeleteApiKeyRequest) String() string
func (*DeleteApiKeyRequest) Validate ¶
func (this *DeleteApiKeyRequest) Validate() error
func (*DeleteApiKeyRequest) XXX_DiscardUnknown ¶
func (m *DeleteApiKeyRequest) XXX_DiscardUnknown()
func (*DeleteApiKeyRequest) XXX_Marshal ¶
func (m *DeleteApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteApiKeyRequest) XXX_Merge ¶
func (m *DeleteApiKeyRequest) XXX_Merge(src proto.Message)
func (*DeleteApiKeyRequest) XXX_Size ¶
func (m *DeleteApiKeyRequest) XXX_Size() int
func (*DeleteApiKeyRequest) XXX_Unmarshal ¶
func (m *DeleteApiKeyRequest) XXX_Unmarshal(b []byte) error
type DeleteApiKeyResponseWrapper ¶
type DeleteApiKeyResponseWrapper 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 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteApiKeyApi返回
func (*DeleteApiKeyResponseWrapper) Descriptor ¶
func (*DeleteApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteApiKeyResponseWrapper) GetCode ¶
func (m *DeleteApiKeyResponseWrapper) GetCode() int32
func (*DeleteApiKeyResponseWrapper) GetCodeExplain ¶
func (m *DeleteApiKeyResponseWrapper) GetCodeExplain() string
func (*DeleteApiKeyResponseWrapper) GetData ¶
func (m *DeleteApiKeyResponseWrapper) GetData() *types.Empty
func (*DeleteApiKeyResponseWrapper) GetError ¶
func (m *DeleteApiKeyResponseWrapper) GetError() string
func (*DeleteApiKeyResponseWrapper) ProtoMessage ¶
func (*DeleteApiKeyResponseWrapper) ProtoMessage()
func (*DeleteApiKeyResponseWrapper) Reset ¶
func (m *DeleteApiKeyResponseWrapper) Reset()
func (*DeleteApiKeyResponseWrapper) String ¶
func (m *DeleteApiKeyResponseWrapper) String() string
func (*DeleteApiKeyResponseWrapper) Validate ¶
func (this *DeleteApiKeyResponseWrapper) Validate() error
func (*DeleteApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*DeleteApiKeyResponseWrapper) XXX_Marshal ¶
func (m *DeleteApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteApiKeyResponseWrapper) XXX_Merge ¶
func (m *DeleteApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteApiKeyResponseWrapper) XXX_Size ¶
func (m *DeleteApiKeyResponseWrapper) XXX_Size() int
func (*DeleteApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type DisableApiKeyRequest ¶
type DisableApiKeyRequest struct { // //access_key AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DisableApiKey请求
func (*DisableApiKeyRequest) Descriptor ¶
func (*DisableApiKeyRequest) Descriptor() ([]byte, []int)
func (*DisableApiKeyRequest) GetAccessKey ¶
func (m *DisableApiKeyRequest) GetAccessKey() string
func (*DisableApiKeyRequest) ProtoMessage ¶
func (*DisableApiKeyRequest) ProtoMessage()
func (*DisableApiKeyRequest) Reset ¶
func (m *DisableApiKeyRequest) Reset()
func (*DisableApiKeyRequest) String ¶
func (m *DisableApiKeyRequest) String() string
func (*DisableApiKeyRequest) Validate ¶
func (this *DisableApiKeyRequest) Validate() error
func (*DisableApiKeyRequest) XXX_DiscardUnknown ¶
func (m *DisableApiKeyRequest) XXX_DiscardUnknown()
func (*DisableApiKeyRequest) XXX_Marshal ¶
func (m *DisableApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisableApiKeyRequest) XXX_Merge ¶
func (m *DisableApiKeyRequest) XXX_Merge(src proto.Message)
func (*DisableApiKeyRequest) XXX_Size ¶
func (m *DisableApiKeyRequest) XXX_Size() int
func (*DisableApiKeyRequest) XXX_Unmarshal ¶
func (m *DisableApiKeyRequest) XXX_Unmarshal(b []byte) error
type DisableApiKeyResponseWrapper ¶
type DisableApiKeyResponseWrapper 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 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DisableApiKeyApi返回
func (*DisableApiKeyResponseWrapper) Descriptor ¶
func (*DisableApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*DisableApiKeyResponseWrapper) GetCode ¶
func (m *DisableApiKeyResponseWrapper) GetCode() int32
func (*DisableApiKeyResponseWrapper) GetCodeExplain ¶
func (m *DisableApiKeyResponseWrapper) GetCodeExplain() string
func (*DisableApiKeyResponseWrapper) GetData ¶
func (m *DisableApiKeyResponseWrapper) GetData() *types.Empty
func (*DisableApiKeyResponseWrapper) GetError ¶
func (m *DisableApiKeyResponseWrapper) GetError() string
func (*DisableApiKeyResponseWrapper) ProtoMessage ¶
func (*DisableApiKeyResponseWrapper) ProtoMessage()
func (*DisableApiKeyResponseWrapper) Reset ¶
func (m *DisableApiKeyResponseWrapper) Reset()
func (*DisableApiKeyResponseWrapper) String ¶
func (m *DisableApiKeyResponseWrapper) String() string
func (*DisableApiKeyResponseWrapper) Validate ¶
func (this *DisableApiKeyResponseWrapper) Validate() error
func (*DisableApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *DisableApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*DisableApiKeyResponseWrapper) XXX_Marshal ¶
func (m *DisableApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisableApiKeyResponseWrapper) XXX_Merge ¶
func (m *DisableApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*DisableApiKeyResponseWrapper) XXX_Size ¶
func (m *DisableApiKeyResponseWrapper) XXX_Size() int
func (*DisableApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *DisableApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type EnableApiKeyRequest ¶
type EnableApiKeyRequest struct { // //access_key AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EnableApiKey请求
func (*EnableApiKeyRequest) Descriptor ¶
func (*EnableApiKeyRequest) Descriptor() ([]byte, []int)
func (*EnableApiKeyRequest) GetAccessKey ¶
func (m *EnableApiKeyRequest) GetAccessKey() string
func (*EnableApiKeyRequest) ProtoMessage ¶
func (*EnableApiKeyRequest) ProtoMessage()
func (*EnableApiKeyRequest) Reset ¶
func (m *EnableApiKeyRequest) Reset()
func (*EnableApiKeyRequest) String ¶
func (m *EnableApiKeyRequest) String() string
func (*EnableApiKeyRequest) Validate ¶
func (this *EnableApiKeyRequest) Validate() error
func (*EnableApiKeyRequest) XXX_DiscardUnknown ¶
func (m *EnableApiKeyRequest) XXX_DiscardUnknown()
func (*EnableApiKeyRequest) XXX_Marshal ¶
func (m *EnableApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnableApiKeyRequest) XXX_Merge ¶
func (m *EnableApiKeyRequest) XXX_Merge(src proto.Message)
func (*EnableApiKeyRequest) XXX_Size ¶
func (m *EnableApiKeyRequest) XXX_Size() int
func (*EnableApiKeyRequest) XXX_Unmarshal ¶
func (m *EnableApiKeyRequest) XXX_Unmarshal(b []byte) error
type EnableApiKeyResponseWrapper ¶
type EnableApiKeyResponseWrapper 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 *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EnableApiKeyApi返回
func (*EnableApiKeyResponseWrapper) Descriptor ¶
func (*EnableApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*EnableApiKeyResponseWrapper) GetCode ¶
func (m *EnableApiKeyResponseWrapper) GetCode() int32
func (*EnableApiKeyResponseWrapper) GetCodeExplain ¶
func (m *EnableApiKeyResponseWrapper) GetCodeExplain() string
func (*EnableApiKeyResponseWrapper) GetData ¶
func (m *EnableApiKeyResponseWrapper) GetData() *types.Empty
func (*EnableApiKeyResponseWrapper) GetError ¶
func (m *EnableApiKeyResponseWrapper) GetError() string
func (*EnableApiKeyResponseWrapper) ProtoMessage ¶
func (*EnableApiKeyResponseWrapper) ProtoMessage()
func (*EnableApiKeyResponseWrapper) Reset ¶
func (m *EnableApiKeyResponseWrapper) Reset()
func (*EnableApiKeyResponseWrapper) String ¶
func (m *EnableApiKeyResponseWrapper) String() string
func (*EnableApiKeyResponseWrapper) Validate ¶
func (this *EnableApiKeyResponseWrapper) Validate() error
func (*EnableApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *EnableApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*EnableApiKeyResponseWrapper) XXX_Marshal ¶
func (m *EnableApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnableApiKeyResponseWrapper) XXX_Merge ¶
func (m *EnableApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*EnableApiKeyResponseWrapper) XXX_Size ¶
func (m *EnableApiKeyResponseWrapper) XXX_Size() int
func (*EnableApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *EnableApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type GetApiKeyResponse ¶
type GetApiKeyResponse struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` // //access_key AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` // //secret_key SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key" form:"secret_key"` // //是否可用 State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" form:"state"` // //org Org int32 `protobuf:"varint,5,opt,name=org,proto3" json:"org" form:"org"` // //创建时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //更新时间戳 Ts int32 `protobuf:"varint,7,opt,name=ts,proto3" json:"ts" form:"ts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetApiKey返回
func (*GetApiKeyResponse) Descriptor ¶
func (*GetApiKeyResponse) Descriptor() ([]byte, []int)
func (*GetApiKeyResponse) GetAccessKey ¶
func (m *GetApiKeyResponse) GetAccessKey() string
func (*GetApiKeyResponse) GetCtime ¶
func (m *GetApiKeyResponse) GetCtime() string
func (*GetApiKeyResponse) GetOrg ¶
func (m *GetApiKeyResponse) GetOrg() int32
func (*GetApiKeyResponse) GetSecretKey ¶
func (m *GetApiKeyResponse) GetSecretKey() string
func (*GetApiKeyResponse) GetState ¶
func (m *GetApiKeyResponse) GetState() string
func (*GetApiKeyResponse) GetTs ¶
func (m *GetApiKeyResponse) GetTs() int32
func (*GetApiKeyResponse) GetUser ¶
func (m *GetApiKeyResponse) GetUser() string
func (*GetApiKeyResponse) ProtoMessage ¶
func (*GetApiKeyResponse) ProtoMessage()
func (*GetApiKeyResponse) Reset ¶
func (m *GetApiKeyResponse) Reset()
func (*GetApiKeyResponse) String ¶
func (m *GetApiKeyResponse) String() string
func (*GetApiKeyResponse) Validate ¶
func (this *GetApiKeyResponse) Validate() error
func (*GetApiKeyResponse) XXX_DiscardUnknown ¶
func (m *GetApiKeyResponse) XXX_DiscardUnknown()
func (*GetApiKeyResponse) XXX_Marshal ¶
func (m *GetApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetApiKeyResponse) XXX_Merge ¶
func (m *GetApiKeyResponse) XXX_Merge(src proto.Message)
func (*GetApiKeyResponse) XXX_Size ¶
func (m *GetApiKeyResponse) XXX_Size() int
func (*GetApiKeyResponse) XXX_Unmarshal ¶
func (m *GetApiKeyResponse) XXX_Unmarshal(b []byte) error
type GetApiKeyResponseWrapper ¶
type GetApiKeyResponseWrapper 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 *GetApiKeyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetApiKeyApi返回
func (*GetApiKeyResponseWrapper) Descriptor ¶
func (*GetApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*GetApiKeyResponseWrapper) GetCode ¶
func (m *GetApiKeyResponseWrapper) GetCode() int32
func (*GetApiKeyResponseWrapper) GetCodeExplain ¶
func (m *GetApiKeyResponseWrapper) GetCodeExplain() string
func (*GetApiKeyResponseWrapper) GetData ¶
func (m *GetApiKeyResponseWrapper) GetData() *GetApiKeyResponse
func (*GetApiKeyResponseWrapper) GetError ¶
func (m *GetApiKeyResponseWrapper) GetError() string
func (*GetApiKeyResponseWrapper) ProtoMessage ¶
func (*GetApiKeyResponseWrapper) ProtoMessage()
func (*GetApiKeyResponseWrapper) Reset ¶
func (m *GetApiKeyResponseWrapper) Reset()
func (*GetApiKeyResponseWrapper) String ¶
func (m *GetApiKeyResponseWrapper) String() string
func (*GetApiKeyResponseWrapper) Validate ¶
func (this *GetApiKeyResponseWrapper) Validate() error
func (*GetApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *GetApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*GetApiKeyResponseWrapper) XXX_Marshal ¶
func (m *GetApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetApiKeyResponseWrapper) XXX_Merge ¶
func (m *GetApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*GetApiKeyResponseWrapper) XXX_Size ¶
func (m *GetApiKeyResponseWrapper) XXX_Size() int
func (*GetApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *GetApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type ListApiKeyRequest ¶
type ListApiKeyRequest 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListApiKey请求
func (*ListApiKeyRequest) Descriptor ¶
func (*ListApiKeyRequest) Descriptor() ([]byte, []int)
func (*ListApiKeyRequest) GetPage ¶
func (m *ListApiKeyRequest) GetPage() int32
func (*ListApiKeyRequest) GetPageSize ¶
func (m *ListApiKeyRequest) GetPageSize() int32
func (*ListApiKeyRequest) ProtoMessage ¶
func (*ListApiKeyRequest) ProtoMessage()
func (*ListApiKeyRequest) Reset ¶
func (m *ListApiKeyRequest) Reset()
func (*ListApiKeyRequest) String ¶
func (m *ListApiKeyRequest) String() string
func (*ListApiKeyRequest) Validate ¶
func (this *ListApiKeyRequest) Validate() error
func (*ListApiKeyRequest) XXX_DiscardUnknown ¶
func (m *ListApiKeyRequest) XXX_DiscardUnknown()
func (*ListApiKeyRequest) XXX_Marshal ¶
func (m *ListApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApiKeyRequest) XXX_Merge ¶
func (m *ListApiKeyRequest) XXX_Merge(src proto.Message)
func (*ListApiKeyRequest) XXX_Size ¶
func (m *ListApiKeyRequest) XXX_Size() int
func (*ListApiKeyRequest) XXX_Unmarshal ¶
func (m *ListApiKeyRequest) XXX_Unmarshal(b []byte) error
type ListApiKeyResponse ¶
type ListApiKeyResponse 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 []*ListApiKeyResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListApiKey返回
func (*ListApiKeyResponse) Descriptor ¶
func (*ListApiKeyResponse) Descriptor() ([]byte, []int)
func (*ListApiKeyResponse) GetList ¶
func (m *ListApiKeyResponse) GetList() []*ListApiKeyResponse_List
func (*ListApiKeyResponse) GetPage ¶
func (m *ListApiKeyResponse) GetPage() int32
func (*ListApiKeyResponse) GetPageSize ¶
func (m *ListApiKeyResponse) GetPageSize() int32
func (*ListApiKeyResponse) GetTotal ¶
func (m *ListApiKeyResponse) GetTotal() int32
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
type ListApiKeyResponse_List ¶
type ListApiKeyResponse_List struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` // //access_key AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` // //secret_key SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key" form:"secret_key"` // //是否可用 State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" form:"state"` // //org Org int32 `protobuf:"varint,5,opt,name=org,proto3" json:"org" form:"org"` // //创建时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //更新时间戳 Ts int32 `protobuf:"varint,7,opt,name=ts,proto3" json:"ts" form:"ts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListApiKeyResponse_List) Descriptor ¶
func (*ListApiKeyResponse_List) Descriptor() ([]byte, []int)
func (*ListApiKeyResponse_List) GetAccessKey ¶
func (m *ListApiKeyResponse_List) GetAccessKey() string
func (*ListApiKeyResponse_List) GetCtime ¶
func (m *ListApiKeyResponse_List) GetCtime() string
func (*ListApiKeyResponse_List) GetOrg ¶
func (m *ListApiKeyResponse_List) GetOrg() int32
func (*ListApiKeyResponse_List) GetSecretKey ¶
func (m *ListApiKeyResponse_List) GetSecretKey() string
func (*ListApiKeyResponse_List) GetState ¶
func (m *ListApiKeyResponse_List) GetState() string
func (*ListApiKeyResponse_List) GetTs ¶
func (m *ListApiKeyResponse_List) GetTs() int32
func (*ListApiKeyResponse_List) GetUser ¶
func (m *ListApiKeyResponse_List) GetUser() string
func (*ListApiKeyResponse_List) ProtoMessage ¶
func (*ListApiKeyResponse_List) ProtoMessage()
func (*ListApiKeyResponse_List) Reset ¶
func (m *ListApiKeyResponse_List) Reset()
func (*ListApiKeyResponse_List) String ¶
func (m *ListApiKeyResponse_List) String() string
func (*ListApiKeyResponse_List) Validate ¶
func (this *ListApiKeyResponse_List) Validate() error
func (*ListApiKeyResponse_List) XXX_DiscardUnknown ¶
func (m *ListApiKeyResponse_List) XXX_DiscardUnknown()
func (*ListApiKeyResponse_List) XXX_Marshal ¶
func (m *ListApiKeyResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApiKeyResponse_List) XXX_Merge ¶
func (m *ListApiKeyResponse_List) XXX_Merge(src proto.Message)
func (*ListApiKeyResponse_List) XXX_Size ¶
func (m *ListApiKeyResponse_List) XXX_Size() int
func (*ListApiKeyResponse_List) XXX_Unmarshal ¶
func (m *ListApiKeyResponse_List) XXX_Unmarshal(b []byte) error
type ResetApiKeyRequest ¶
type ResetApiKeyRequest struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ResetApiKey请求
func (*ResetApiKeyRequest) Descriptor ¶
func (*ResetApiKeyRequest) Descriptor() ([]byte, []int)
func (*ResetApiKeyRequest) GetUser ¶
func (m *ResetApiKeyRequest) GetUser() string
func (*ResetApiKeyRequest) ProtoMessage ¶
func (*ResetApiKeyRequest) ProtoMessage()
func (*ResetApiKeyRequest) Reset ¶
func (m *ResetApiKeyRequest) Reset()
func (*ResetApiKeyRequest) String ¶
func (m *ResetApiKeyRequest) String() string
func (*ResetApiKeyRequest) Validate ¶
func (this *ResetApiKeyRequest) Validate() error
func (*ResetApiKeyRequest) XXX_DiscardUnknown ¶
func (m *ResetApiKeyRequest) XXX_DiscardUnknown()
func (*ResetApiKeyRequest) XXX_Marshal ¶
func (m *ResetApiKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetApiKeyRequest) XXX_Merge ¶
func (m *ResetApiKeyRequest) XXX_Merge(src proto.Message)
func (*ResetApiKeyRequest) XXX_Size ¶
func (m *ResetApiKeyRequest) XXX_Size() int
func (*ResetApiKeyRequest) XXX_Unmarshal ¶
func (m *ResetApiKeyRequest) XXX_Unmarshal(b []byte) error
type ResetApiKeyResponse ¶
type ResetApiKeyResponse struct { // //用户名 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user" form:"user"` // //access_key AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key" form:"access_key"` // //secret_key SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key" form:"secret_key"` // //是否可用 State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" form:"state"` // //org Org int32 `protobuf:"varint,5,opt,name=org,proto3" json:"org" form:"org"` // //创建时间 Ctime string `protobuf:"bytes,6,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //更新时间戳 Ts int32 `protobuf:"varint,7,opt,name=ts,proto3" json:"ts" form:"ts"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ResetApiKey返回
func (*ResetApiKeyResponse) Descriptor ¶
func (*ResetApiKeyResponse) Descriptor() ([]byte, []int)
func (*ResetApiKeyResponse) GetAccessKey ¶
func (m *ResetApiKeyResponse) GetAccessKey() string
func (*ResetApiKeyResponse) GetCtime ¶
func (m *ResetApiKeyResponse) GetCtime() string
func (*ResetApiKeyResponse) GetOrg ¶
func (m *ResetApiKeyResponse) GetOrg() int32
func (*ResetApiKeyResponse) GetSecretKey ¶
func (m *ResetApiKeyResponse) GetSecretKey() string
func (*ResetApiKeyResponse) GetState ¶
func (m *ResetApiKeyResponse) GetState() string
func (*ResetApiKeyResponse) GetTs ¶
func (m *ResetApiKeyResponse) GetTs() int32
func (*ResetApiKeyResponse) GetUser ¶
func (m *ResetApiKeyResponse) GetUser() string
func (*ResetApiKeyResponse) ProtoMessage ¶
func (*ResetApiKeyResponse) ProtoMessage()
func (*ResetApiKeyResponse) Reset ¶
func (m *ResetApiKeyResponse) Reset()
func (*ResetApiKeyResponse) String ¶
func (m *ResetApiKeyResponse) String() string
func (*ResetApiKeyResponse) Validate ¶
func (this *ResetApiKeyResponse) Validate() error
func (*ResetApiKeyResponse) XXX_DiscardUnknown ¶
func (m *ResetApiKeyResponse) XXX_DiscardUnknown()
func (*ResetApiKeyResponse) XXX_Marshal ¶
func (m *ResetApiKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetApiKeyResponse) XXX_Merge ¶
func (m *ResetApiKeyResponse) XXX_Merge(src proto.Message)
func (*ResetApiKeyResponse) XXX_Size ¶
func (m *ResetApiKeyResponse) XXX_Size() int
func (*ResetApiKeyResponse) XXX_Unmarshal ¶
func (m *ResetApiKeyResponse) XXX_Unmarshal(b []byte) error
type ResetApiKeyResponseWrapper ¶
type ResetApiKeyResponseWrapper 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 *ResetApiKeyResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ResetApiKeyApi返回
func (*ResetApiKeyResponseWrapper) Descriptor ¶
func (*ResetApiKeyResponseWrapper) Descriptor() ([]byte, []int)
func (*ResetApiKeyResponseWrapper) GetCode ¶
func (m *ResetApiKeyResponseWrapper) GetCode() int32
func (*ResetApiKeyResponseWrapper) GetCodeExplain ¶
func (m *ResetApiKeyResponseWrapper) GetCodeExplain() string
func (*ResetApiKeyResponseWrapper) GetData ¶
func (m *ResetApiKeyResponseWrapper) GetData() *ResetApiKeyResponse
func (*ResetApiKeyResponseWrapper) GetError ¶
func (m *ResetApiKeyResponseWrapper) GetError() string
func (*ResetApiKeyResponseWrapper) ProtoMessage ¶
func (*ResetApiKeyResponseWrapper) ProtoMessage()
func (*ResetApiKeyResponseWrapper) Reset ¶
func (m *ResetApiKeyResponseWrapper) Reset()
func (*ResetApiKeyResponseWrapper) String ¶
func (m *ResetApiKeyResponseWrapper) String() string
func (*ResetApiKeyResponseWrapper) Validate ¶
func (this *ResetApiKeyResponseWrapper) Validate() error
func (*ResetApiKeyResponseWrapper) XXX_DiscardUnknown ¶
func (m *ResetApiKeyResponseWrapper) XXX_DiscardUnknown()
func (*ResetApiKeyResponseWrapper) XXX_Marshal ¶
func (m *ResetApiKeyResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetApiKeyResponseWrapper) XXX_Merge ¶
func (m *ResetApiKeyResponseWrapper) XXX_Merge(src proto.Message)
func (*ResetApiKeyResponseWrapper) XXX_Size ¶
func (m *ResetApiKeyResponseWrapper) XXX_Size() int
func (*ResetApiKeyResponseWrapper) XXX_Unmarshal ¶
func (m *ResetApiKeyResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*types.Empty, error) DisableApiKey(context.Context, *DisableApiKeyRequest) (*types.Empty, error) EnableApiKey(context.Context, *EnableApiKeyRequest) (*types.Empty, error) GetApiKey(context.Context, *types.Empty) (*GetApiKeyResponse, error) ListApiKey(context.Context, *ListApiKeyRequest) (*ListApiKeyResponse, error) ResetApiKey(context.Context, *ResetApiKeyRequest) (*ResetApiKeyResponse, error) }
Service is the server API for apikey service.
Source Files ¶
- create_apikey.pb.go
- create_apikey.validator.pb.go
- delete_apikey.pb.go
- delete_apikey.validator.pb.go
- disable_apikey.pb.go
- disable_apikey.validator.pb.go
- enable_apikey.pb.go
- enable_apikey.validator.pb.go
- get_apikey.pb.go
- get_apikey.validator.pb.go
- giraffe_service.giraffe.pb.go
- list_apikey.pb.go
- list_apikey.validator.pb.go
- reset_apikey.pb.go
- reset_apikey.validator.pb.go
Click to show internal directories.
Click to hide internal directories.