protobuf

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Error) GetCode

func (m *Error) GetCode() int32

func (*Error) GetMsg

func (m *Error) GetMsg() string

func (*Error) Marshal

func (m *Error) Marshal() (dAtA []byte, err error)

func (*Error) MarshalTo

func (m *Error) MarshalTo(dAtA []byte) (int, error)

func (*Error) MarshalToSizedBuffer

func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

func (m *Error) Size() (n int)

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

func (m *Error) Unmarshal(dAtA []byte) error

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*ListParam) GetPage

func (m *ListParam) GetPage() int64

func (*ListParam) GetPageSize

func (m *ListParam) GetPageSize() int64

func (*ListParam) Marshal

func (m *ListParam) Marshal() (dAtA []byte, err error)

func (*ListParam) MarshalTo

func (m *ListParam) MarshalTo(dAtA []byte) (int, error)

func (*ListParam) MarshalToSizedBuffer

func (m *ListParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListParam) ProtoMessage

func (*ListParam) ProtoMessage()

func (*ListParam) Reset

func (m *ListParam) Reset()

func (*ListParam) Size

func (m *ListParam) Size() (n int)

func (*ListParam) String

func (m *ListParam) String() string

func (*ListParam) Unmarshal

func (m *ListParam) Unmarshal(dAtA []byte) error

func (*ListParam) XXX_DiscardUnknown

func (m *ListParam) XXX_DiscardUnknown()

func (*ListParam) XXX_Marshal

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

func (*ListParam) XXX_Merge

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

func (*ListParam) XXX_Size

func (m *ListParam) XXX_Size() int

func (*ListParam) XXX_Unmarshal

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

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

Jump to

Keyboard shortcuts

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