Documentation
¶
Index ¶
- Variables
- type BoolValue
- type EmptyRequest
- func (*EmptyRequest) Descriptor() ([]byte, []int)
- func (m *EmptyRequest) Marshal() (dAtA []byte, err error)
- func (m *EmptyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EmptyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmptyRequest) ProtoMessage()
- func (m *EmptyRequest) Reset()
- func (m *EmptyRequest) Size() (n int)
- func (m *EmptyRequest) String() string
- func (m *EmptyRequest) Unmarshal(dAtA []byte) error
- func (m *EmptyRequest) XXX_DiscardUnknown()
- func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyRequest) XXX_Merge(src proto.Message)
- func (m *EmptyRequest) XXX_Size() int
- func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
- type EmptyResponse
- func (*EmptyResponse) Descriptor() ([]byte, []int)
- func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
- func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EmptyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EmptyResponse) ProtoMessage()
- func (m *EmptyResponse) Reset()
- func (m *EmptyResponse) Size() (n int)
- func (m *EmptyResponse) String() string
- func (m *EmptyResponse) Unmarshal(dAtA []byte) error
- func (m *EmptyResponse) XXX_DiscardUnknown()
- func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyResponse) XXX_Merge(src proto.Message)
- func (m *EmptyResponse) XXX_Size() int
- func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
- type EnableStatus
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetCode() int32
- func (m *Error) GetMsg() string
- func (m *Error) Marshal() (dAtA []byte, err error)
- func (m *Error) MarshalTo(dAtA []byte) (int, error)
- func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) Size() (n int)
- func (m *Error) String() string
- func (m *Error) Unmarshal(dAtA []byte) error
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type ListParam
- func (*ListParam) Descriptor() ([]byte, []int)
- func (m *ListParam) GetPage() int64
- func (m *ListParam) GetPageSize() int64
- func (m *ListParam) Marshal() (dAtA []byte, err error)
- func (m *ListParam) MarshalTo(dAtA []byte) (int, error)
- func (m *ListParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListParam) ProtoMessage()
- func (m *ListParam) Reset()
- func (m *ListParam) Size() (n int)
- func (m *ListParam) String() string
- func (m *ListParam) Unmarshal(dAtA []byte) error
- func (m *ListParam) XXX_DiscardUnknown()
- func (m *ListParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListParam) XXX_Merge(src proto.Message)
- func (m *ListParam) XXX_Size() int
- func (m *ListParam) XXX_Unmarshal(b []byte) error
- type RouteItem
- func (*RouteItem) Descriptor() ([]byte, []int)
- func (m *RouteItem) GetApp() string
- func (m *RouteItem) GetComment() string
- func (m *RouteItem) GetEndpoint() string
- func (m *RouteItem) GetHandler() string
- func (m *RouteItem) GetHttpMethod() string
- func (m *RouteItem) GetId() int64
- func (m *RouteItem) GetIsPublic() int32
- func (m *RouteItem) GetIsRawResponse() int32
- func (m *RouteItem) GetModuleName() string
- func (m *RouteItem) GetModuleVersion() int32
- func (m *RouteItem) GetOrigin() string
- func (m *RouteItem) GetPermissions() []string
- func (m *RouteItem) GetUrl() string
- func (m *RouteItem) Marshal() (dAtA []byte, err error)
- func (m *RouteItem) MarshalTo(dAtA []byte) (int, error)
- func (m *RouteItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RouteItem) ProtoMessage()
- func (m *RouteItem) Reset()
- func (m *RouteItem) Size() (n int)
- func (m *RouteItem) String() string
- func (m *RouteItem) Unmarshal(dAtA []byte) error
- func (m *RouteItem) XXX_DiscardUnknown()
- func (m *RouteItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RouteItem) XXX_Merge(src proto.Message)
- func (m *RouteItem) XXX_Size() int
- func (m *RouteItem) XXX_Unmarshal(b []byte) error
- type SimpleResponse
- func (*SimpleResponse) Descriptor() ([]byte, []int)
- func (m *SimpleResponse) GetMessage() string
- func (m *SimpleResponse) Marshal() (dAtA []byte, err error)
- func (m *SimpleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SimpleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimpleResponse) ProtoMessage()
- func (m *SimpleResponse) Reset()
- func (m *SimpleResponse) Size() (n int)
- func (m *SimpleResponse) String() string
- func (m *SimpleResponse) Unmarshal(dAtA []byte) error
- func (m *SimpleResponse) XXX_DiscardUnknown()
- func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleResponse) XXX_Merge(src proto.Message)
- func (m *SimpleResponse) XXX_Size() int
- func (m *SimpleResponse) XXX_Unmarshal(b []byte) error
- type VerifyStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthErr = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowErr = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupErr = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( ErrInvalidLengthSdk = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSdk = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSdk = fmt.Errorf("proto: unexpected end of group") )
View Source
var BoolValue_name = map[int32]string{
0: "BoolValueFalse",
1: "BoolValueTrue",
}
View Source
var BoolValue_value = map[string]int32{
"BoolValueFalse": 0,
"BoolValueTrue": 1,
}
View Source
var EnableStatus_name = map[int32]string{
0: "EnableStatusDisabled",
1: "EnableStatusEnabled",
}
View Source
var EnableStatus_value = map[string]int32{
"EnableStatusDisabled": 0,
"EnableStatusEnabled": 1,
}
View Source
var VerifyStatus_name = map[int32]string{
0: "VerifyStatusUnverified",
1: "VerifyStatusVerified",
}
View Source
var VerifyStatus_value = map[string]int32{
"VerifyStatusUnverified": 0,
"VerifyStatusVerified": 1,
}
Functions ¶
This section is empty.
Types ¶
type BoolValue ¶ added in v0.0.7
type BoolValue int32
func (BoolValue) EnumDescriptor ¶ added in v0.0.7
type EmptyRequest ¶ added in v0.0.7
type EmptyRequest struct {
}
func (*EmptyRequest) Descriptor ¶ added in v0.0.7
func (*EmptyRequest) Descriptor() ([]byte, []int)
func (*EmptyRequest) Marshal ¶ added in v0.0.7
func (m *EmptyRequest) Marshal() (dAtA []byte, err error)
func (*EmptyRequest) MarshalTo ¶ added in v0.0.7
func (m *EmptyRequest) MarshalTo(dAtA []byte) (int, error)
func (*EmptyRequest) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EmptyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmptyRequest) ProtoMessage ¶ added in v0.0.7
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) Reset ¶ added in v0.0.7
func (m *EmptyRequest) Reset()
func (*EmptyRequest) Size ¶ added in v0.0.7
func (m *EmptyRequest) Size() (n int)
func (*EmptyRequest) String ¶ added in v0.0.7
func (m *EmptyRequest) String() string
func (*EmptyRequest) Unmarshal ¶ added in v0.0.7
func (m *EmptyRequest) Unmarshal(dAtA []byte) error
func (*EmptyRequest) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EmptyRequest) XXX_DiscardUnknown()
func (*EmptyRequest) XXX_Marshal ¶ added in v0.0.7
func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyRequest) XXX_Merge ¶ added in v0.0.7
func (m *EmptyRequest) XXX_Merge(src proto.Message)
func (*EmptyRequest) XXX_Size ¶ added in v0.0.7
func (m *EmptyRequest) XXX_Size() int
func (*EmptyRequest) XXX_Unmarshal ¶ added in v0.0.7
func (m *EmptyRequest) XXX_Unmarshal(b []byte) error
type EmptyResponse ¶ added in v0.0.7
type EmptyResponse struct {
}
func (*EmptyResponse) Descriptor ¶ added in v0.0.7
func (*EmptyResponse) Descriptor() ([]byte, []int)
func (*EmptyResponse) Marshal ¶ added in v0.0.7
func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
func (*EmptyResponse) MarshalTo ¶ added in v0.0.7
func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error)
func (*EmptyResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *EmptyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EmptyResponse) ProtoMessage ¶ added in v0.0.7
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) Reset ¶ added in v0.0.7
func (m *EmptyResponse) Reset()
func (*EmptyResponse) Size ¶ added in v0.0.7
func (m *EmptyResponse) Size() (n int)
func (*EmptyResponse) String ¶ added in v0.0.7
func (m *EmptyResponse) String() string
func (*EmptyResponse) Unmarshal ¶ added in v0.0.7
func (m *EmptyResponse) Unmarshal(dAtA []byte) error
func (*EmptyResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *EmptyResponse) XXX_DiscardUnknown()
func (*EmptyResponse) XXX_Marshal ¶ added in v0.0.7
func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyResponse) XXX_Merge ¶ added in v0.0.7
func (m *EmptyResponse) XXX_Merge(src proto.Message)
func (*EmptyResponse) XXX_Size ¶ added in v0.0.7
func (m *EmptyResponse) XXX_Size() int
func (*EmptyResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
type EnableStatus ¶ added in v0.0.7
type EnableStatus int32
const ( EnableStatus_EnableStatusDisabled EnableStatus = 0 EnableStatus_EnableStatusEnabled EnableStatus = 1 )
func (EnableStatus) EnumDescriptor ¶ added in v0.0.7
func (EnableStatus) EnumDescriptor() ([]byte, []int)
func (EnableStatus) String ¶ added in v0.0.7
func (x EnableStatus) String() string
type Error ¶
type Error struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
type ListParam ¶
type ListParam struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
}
按limit分页
func (*ListParam) Descriptor ¶
func (*ListParam) GetPageSize ¶
func (*ListParam) MarshalToSizedBuffer ¶
func (*ListParam) ProtoMessage ¶
func (*ListParam) ProtoMessage()
func (*ListParam) XXX_DiscardUnknown ¶
func (m *ListParam) XXX_DiscardUnknown()
func (*ListParam) XXX_Marshal ¶
func (*ListParam) XXX_Unmarshal ¶
type RouteItem ¶
type RouteItem struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
ModuleName string `protobuf:"bytes,3,opt,name=moduleName,proto3" json:"moduleName,omitempty"`
ModuleVersion int32 `protobuf:"varint,4,opt,name=moduleVersion,proto3" json:"moduleVersion,omitempty"`
Handler string `protobuf:"bytes,5,opt,name=handler,proto3" json:"handler,omitempty"`
Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
HttpMethod string `protobuf:"bytes,7,opt,name=httpMethod,proto3" json:"httpMethod,omitempty"`
Origin string `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
IsPublic int32 `protobuf:"varint,9,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
IsRawResponse int32 `protobuf:"varint,10,opt,name=isRawResponse,proto3" json:"isRawResponse,omitempty"`
Permissions []string `protobuf:"bytes,11,rep,name=permissions,proto3" json:"permissions,omitempty"`
Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"`
Comment string `protobuf:"bytes,13,opt,name=comment,proto3" json:"comment,omitempty"`
}
路由项
func (*RouteItem) Descriptor ¶
func (*RouteItem) GetComment ¶
func (*RouteItem) GetEndpoint ¶
func (*RouteItem) GetHandler ¶
func (*RouteItem) GetHttpMethod ¶
func (*RouteItem) GetIsPublic ¶
func (*RouteItem) GetIsRawResponse ¶
func (*RouteItem) GetModuleName ¶
func (*RouteItem) GetModuleVersion ¶
func (*RouteItem) GetPermissions ¶
func (*RouteItem) MarshalToSizedBuffer ¶
func (*RouteItem) ProtoMessage ¶
func (*RouteItem) ProtoMessage()
func (*RouteItem) XXX_DiscardUnknown ¶
func (m *RouteItem) XXX_DiscardUnknown()
func (*RouteItem) XXX_Marshal ¶
func (*RouteItem) XXX_Unmarshal ¶
type SimpleResponse ¶ added in v0.0.7
type SimpleResponse struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
func (*SimpleResponse) Descriptor ¶ added in v0.0.7
func (*SimpleResponse) Descriptor() ([]byte, []int)
func (*SimpleResponse) GetMessage ¶ added in v0.0.7
func (m *SimpleResponse) GetMessage() string
func (*SimpleResponse) Marshal ¶ added in v0.0.7
func (m *SimpleResponse) Marshal() (dAtA []byte, err error)
func (*SimpleResponse) MarshalTo ¶ added in v0.0.7
func (m *SimpleResponse) MarshalTo(dAtA []byte) (int, error)
func (*SimpleResponse) MarshalToSizedBuffer ¶ added in v0.0.7
func (m *SimpleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimpleResponse) ProtoMessage ¶ added in v0.0.7
func (*SimpleResponse) ProtoMessage()
func (*SimpleResponse) Reset ¶ added in v0.0.7
func (m *SimpleResponse) Reset()
func (*SimpleResponse) Size ¶ added in v0.0.7
func (m *SimpleResponse) Size() (n int)
func (*SimpleResponse) String ¶ added in v0.0.7
func (m *SimpleResponse) String() string
func (*SimpleResponse) Unmarshal ¶ added in v0.0.7
func (m *SimpleResponse) Unmarshal(dAtA []byte) error
func (*SimpleResponse) XXX_DiscardUnknown ¶ added in v0.0.7
func (m *SimpleResponse) XXX_DiscardUnknown()
func (*SimpleResponse) XXX_Marshal ¶ added in v0.0.7
func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleResponse) XXX_Merge ¶ added in v0.0.7
func (m *SimpleResponse) XXX_Merge(src proto.Message)
func (*SimpleResponse) XXX_Size ¶ added in v0.0.7
func (m *SimpleResponse) XXX_Size() int
func (*SimpleResponse) XXX_Unmarshal ¶ added in v0.0.7
func (m *SimpleResponse) XXX_Unmarshal(b []byte) error
type VerifyStatus ¶ added in v0.0.7
type VerifyStatus int32
const ( VerifyStatus_VerifyStatusUnverified VerifyStatus = 0 VerifyStatus_VerifyStatusVerified VerifyStatus = 1 )
func (VerifyStatus) EnumDescriptor ¶ added in v0.0.7
func (VerifyStatus) EnumDescriptor() ([]byte, []int)
func (VerifyStatus) String ¶ added in v0.0.7
func (x VerifyStatus) String() string
Click to show internal directories.
Click to hide internal directories.