Documentation
¶
Index ¶
- Variables
- type DaprHandler
- func (*DaprHandler) Descriptor() ([]byte, []int)
- func (m *DaprHandler) GetAlias() string
- func (m *DaprHandler) GetAnnotations() map[string]string
- func (m *DaprHandler) GetComments() []string
- func (m *DaprHandler) GetModule() string
- func (m *DaprHandler) GetModuleKind() DaprModuleKind
- func (m *DaprHandler) GetName() string
- func (m *DaprHandler) GetPkgPath() string
- func (m *DaprHandler) Marshal() (dAtA []byte, err error)
- func (m *DaprHandler) MarshalTo(dAtA []byte) (int, error)
- func (m *DaprHandler) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DaprHandler) ProtoMessage()
- func (m *DaprHandler) Reset()
- func (m *DaprHandler) Size() (n int)
- func (m *DaprHandler) String() string
- func (m *DaprHandler) Unmarshal(dAtA []byte) error
- func (m *DaprHandler) XXX_DiscardUnknown()
- func (m *DaprHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DaprHandler) XXX_Merge(src proto.Message)
- func (m *DaprHandler) XXX_Size() int
- func (m *DaprHandler) XXX_Unmarshal(b []byte) error
- type DaprModuleKind
- 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 SortDirection
- type UpdateRouteRequest
- func (*UpdateRouteRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRouteRequest) GetApp() string
- func (m *UpdateRouteRequest) GetHandlers() []*DaprHandler
- func (m *UpdateRouteRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateRouteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateRouteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateRouteRequest) ProtoMessage()
- func (m *UpdateRouteRequest) Reset()
- func (m *UpdateRouteRequest) Size() (n int)
- func (m *UpdateRouteRequest) String() string
- func (m *UpdateRouteRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateRouteRequest) XXX_DiscardUnknown()
- func (m *UpdateRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRouteRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRouteRequest) XXX_Size() int
- func (m *UpdateRouteRequest) XXX_Unmarshal(b []byte) error
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 DaprModuleKind_name = map[int32]string{
0: "DaprModuleKindUnknown",
1: "DaprModuleKindInvocation",
2: "DaprModuleKindEvent",
3: "DaprModuleKindDelayEvent",
4: "DaprModuleKindHealth",
}
View Source
var DaprModuleKind_value = map[string]int32{
"DaprModuleKindUnknown": 0,
"DaprModuleKindInvocation": 1,
"DaprModuleKindEvent": 2,
"DaprModuleKindDelayEvent": 3,
"DaprModuleKindHealth": 4,
}
View Source
var SortDirection_name = map[int32]string{
0: "Asc",
1: "Desc",
}
View Source
var SortDirection_value = map[string]int32{
"Asc": 0,
"Desc": 1,
}
Functions ¶
This section is empty.
Types ¶
type DaprHandler ¶ added in v0.0.8
type DaprHandler struct {
ModuleKind DaprModuleKind `protobuf:"varint,1,opt,name=moduleKind,proto3,enum=hdget.protobuf.DaprModuleKind" json:"moduleKind,omitempty"`
PkgPath string `protobuf:"bytes,2,opt,name=pkgPath,proto3" json:"pkgPath,omitempty"`
Module string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Alias string `protobuf:"bytes,5,opt,name=alias,proto3" json:"alias,omitempty"`
Annotations map[string]string `` /* 163-byte string literal not displayed */
Comments []string `protobuf:"bytes,6,rep,name=comments,proto3" json:"comments,omitempty"`
}
func (*DaprHandler) Descriptor ¶ added in v0.0.8
func (*DaprHandler) Descriptor() ([]byte, []int)
func (*DaprHandler) GetAlias ¶ added in v0.0.8
func (m *DaprHandler) GetAlias() string
func (*DaprHandler) GetAnnotations ¶ added in v0.0.8
func (m *DaprHandler) GetAnnotations() map[string]string
func (*DaprHandler) GetComments ¶ added in v0.0.8
func (m *DaprHandler) GetComments() []string
func (*DaprHandler) GetModule ¶ added in v0.0.8
func (m *DaprHandler) GetModule() string
func (*DaprHandler) GetModuleKind ¶ added in v0.0.8
func (m *DaprHandler) GetModuleKind() DaprModuleKind
func (*DaprHandler) GetName ¶ added in v0.0.8
func (m *DaprHandler) GetName() string
func (*DaprHandler) GetPkgPath ¶ added in v0.0.8
func (m *DaprHandler) GetPkgPath() string
func (*DaprHandler) Marshal ¶ added in v0.0.8
func (m *DaprHandler) Marshal() (dAtA []byte, err error)
func (*DaprHandler) MarshalTo ¶ added in v0.0.8
func (m *DaprHandler) MarshalTo(dAtA []byte) (int, error)
func (*DaprHandler) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *DaprHandler) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DaprHandler) ProtoMessage ¶ added in v0.0.8
func (*DaprHandler) ProtoMessage()
func (*DaprHandler) Reset ¶ added in v0.0.8
func (m *DaprHandler) Reset()
func (*DaprHandler) Size ¶ added in v0.0.8
func (m *DaprHandler) Size() (n int)
func (*DaprHandler) String ¶ added in v0.0.8
func (m *DaprHandler) String() string
func (*DaprHandler) Unmarshal ¶ added in v0.0.8
func (m *DaprHandler) Unmarshal(dAtA []byte) error
func (*DaprHandler) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *DaprHandler) XXX_DiscardUnknown()
func (*DaprHandler) XXX_Marshal ¶ added in v0.0.8
func (m *DaprHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DaprHandler) XXX_Merge ¶ added in v0.0.8
func (m *DaprHandler) XXX_Merge(src proto.Message)
func (*DaprHandler) XXX_Size ¶ added in v0.0.8
func (m *DaprHandler) XXX_Size() int
func (*DaprHandler) XXX_Unmarshal ¶ added in v0.0.8
func (m *DaprHandler) XXX_Unmarshal(b []byte) error
type DaprModuleKind ¶ added in v0.0.8
type DaprModuleKind int32
const ( DaprModuleKind_DaprModuleKindUnknown DaprModuleKind = 0 DaprModuleKind_DaprModuleKindInvocation DaprModuleKind = 1 DaprModuleKind_DaprModuleKindEvent DaprModuleKind = 2 DaprModuleKind_DaprModuleKindDelayEvent DaprModuleKind = 3 DaprModuleKind_DaprModuleKindHealth DaprModuleKind = 4 )
func (DaprModuleKind) EnumDescriptor ¶ added in v0.0.8
func (DaprModuleKind) EnumDescriptor() ([]byte, []int)
func (DaprModuleKind) String ¶ added in v0.0.8
func (x DaprModuleKind) 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 SortDirection ¶
type SortDirection int32
排序方向
const ( SortDirection_Asc SortDirection = 0 SortDirection_Desc SortDirection = 1 )
func (SortDirection) EnumDescriptor ¶
func (SortDirection) EnumDescriptor() ([]byte, []int)
func (SortDirection) String ¶
func (x SortDirection) String() string
type UpdateRouteRequest ¶ added in v0.0.9
type UpdateRouteRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
Handlers []*DaprHandler `protobuf:"bytes,2,rep,name=handlers,proto3" json:"handlers,omitempty"`
}
func (*UpdateRouteRequest) Descriptor ¶ added in v0.0.9
func (*UpdateRouteRequest) Descriptor() ([]byte, []int)
func (*UpdateRouteRequest) GetApp ¶ added in v0.0.9
func (m *UpdateRouteRequest) GetApp() string
func (*UpdateRouteRequest) GetHandlers ¶ added in v0.0.9
func (m *UpdateRouteRequest) GetHandlers() []*DaprHandler
func (*UpdateRouteRequest) Marshal ¶ added in v0.0.9
func (m *UpdateRouteRequest) Marshal() (dAtA []byte, err error)
func (*UpdateRouteRequest) MarshalTo ¶ added in v0.0.9
func (m *UpdateRouteRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateRouteRequest) MarshalToSizedBuffer ¶ added in v0.0.9
func (m *UpdateRouteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateRouteRequest) ProtoMessage ¶ added in v0.0.9
func (*UpdateRouteRequest) ProtoMessage()
func (*UpdateRouteRequest) Reset ¶ added in v0.0.9
func (m *UpdateRouteRequest) Reset()
func (*UpdateRouteRequest) Size ¶ added in v0.0.9
func (m *UpdateRouteRequest) Size() (n int)
func (*UpdateRouteRequest) String ¶ added in v0.0.9
func (m *UpdateRouteRequest) String() string
func (*UpdateRouteRequest) Unmarshal ¶ added in v0.0.9
func (m *UpdateRouteRequest) Unmarshal(dAtA []byte) error
func (*UpdateRouteRequest) XXX_DiscardUnknown ¶ added in v0.0.9
func (m *UpdateRouteRequest) XXX_DiscardUnknown()
func (*UpdateRouteRequest) XXX_Marshal ¶ added in v0.0.9
func (m *UpdateRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRouteRequest) XXX_Merge ¶ added in v0.0.9
func (m *UpdateRouteRequest) XXX_Merge(src proto.Message)
func (*UpdateRouteRequest) XXX_Size ¶ added in v0.0.9
func (m *UpdateRouteRequest) XXX_Size() int
func (*UpdateRouteRequest) XXX_Unmarshal ¶ added in v0.0.9
func (m *UpdateRouteRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.