Documentation ¶
Index ¶
- Variables
- type ErrorStatus
- func (*ErrorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStatus) GetDetails() []*anypb.Any
- func (x *ErrorStatus) GetMessage() string
- func (*ErrorStatus) ProtoMessage()
- func (x *ErrorStatus) ProtoReflect() protoreflect.Message
- func (x *ErrorStatus) Reset()
- func (x *ErrorStatus) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (m *Event) GetHeader() isEvent_Header
- func (x *Event) GetJson() *JSONEventHeader
- func (x *Event) GetProtobuf() *ProtobufEventHeader
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Json
- type Event_Protobuf
- type Host
- type HostSet
- type JSONEventHeader
- func (*JSONEventHeader) Descriptor() ([]byte, []int)deprecated
- func (x *JSONEventHeader) GetHeaders() []byte
- func (x *JSONEventHeader) GetId() string
- func (*JSONEventHeader) ProtoMessage()
- func (x *JSONEventHeader) ProtoReflect() protoreflect.Message
- func (x *JSONEventHeader) Reset()
- func (x *JSONEventHeader) String() string
- type Outer
- type Outer_MiddleAA_Inner
- func (*Outer_MiddleAA_Inner) Descriptor() ([]byte, []int)deprecated
- func (x *Outer_MiddleAA_Inner) GetBooly() bool
- func (x *Outer_MiddleAA_Inner) GetIval() int64
- func (*Outer_MiddleAA_Inner) ProtoMessage()
- func (x *Outer_MiddleAA_Inner) ProtoReflect() protoreflect.Message
- func (x *Outer_MiddleAA_Inner) Reset()
- func (x *Outer_MiddleAA_Inner) String() string
- type ProtobufEventHeader
- func (*ProtobufEventHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ProtobufEventHeader) GetHeaders() map[string]string
- func (x *ProtobufEventHeader) GetId() string
- func (*ProtobufEventHeader) ProtoMessage()
- func (x *ProtobufEventHeader) ProtoReflect() protoreflect.Message
- func (x *ProtobufEventHeader) Reset()
- func (x *ProtobufEventHeader) String() string
- type String
- type VENDOR
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VENDOR_name = map[int32]string{ 0: "ALI_YUN", 1: "TX_YUN", 2: "AWS", } VENDOR_value = map[string]int32{ "ALI_YUN": 0, "TX_YUN": 1, "AWS": 2, } )
Enum value maps for VENDOR.
View Source
var File_hello_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorStatus ¶
type ErrorStatus struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Details []*anypb.Any `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*ErrorStatus) Descriptor
deprecated
func (*ErrorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.
func (*ErrorStatus) GetDetails ¶
func (x *ErrorStatus) GetDetails() []*anypb.Any
func (*ErrorStatus) GetMessage ¶
func (x *ErrorStatus) GetMessage() string
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) ProtoReflect ¶
func (x *ErrorStatus) ProtoReflect() protoreflect.Message
func (*ErrorStatus) Reset ¶
func (x *ErrorStatus) Reset()
func (*ErrorStatus) String ¶
func (x *ErrorStatus) String() string
type Event ¶
type Event struct { // Types that are assignable to Header: // *Event_Protobuf // *Event_Json Header isEvent_Header `protobuf_oneof:"header"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetJson ¶
func (x *Event) GetJson() *JSONEventHeader
func (*Event) GetProtobuf ¶
func (x *Event) GetProtobuf() *ProtobufEventHeader
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Json ¶
type Event_Json struct {
Json *JSONEventHeader `protobuf:"bytes,2,opt,name=json,proto3,oneof"`
}
type Event_Protobuf ¶
type Event_Protobuf struct {
Protobuf *ProtobufEventHeader `protobuf:"bytes,1,opt,name=protobuf,proto3,oneof"`
}
type Host ¶
type Host struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // 有一个Tags字段 Tags map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type HostSet ¶
type HostSet struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 定义一个Host数组 Items []*Host `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*HostSet) Descriptor
deprecated
func (*HostSet) ProtoMessage ¶
func (*HostSet) ProtoMessage()
func (*HostSet) ProtoReflect ¶
func (x *HostSet) ProtoReflect() protoreflect.Message
type JSONEventHeader ¶
type JSONEventHeader struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Headers []byte `protobuf:"bytes,2,opt,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*JSONEventHeader) Descriptor
deprecated
func (*JSONEventHeader) Descriptor() ([]byte, []int)
Deprecated: Use JSONEventHeader.ProtoReflect.Descriptor instead.
func (*JSONEventHeader) GetHeaders ¶
func (x *JSONEventHeader) GetHeaders() []byte
func (*JSONEventHeader) GetId ¶
func (x *JSONEventHeader) GetId() string
func (*JSONEventHeader) ProtoMessage ¶
func (*JSONEventHeader) ProtoMessage()
func (*JSONEventHeader) ProtoReflect ¶
func (x *JSONEventHeader) ProtoReflect() protoreflect.Message
func (*JSONEventHeader) Reset ¶
func (x *JSONEventHeader) Reset()
func (*JSONEventHeader) String ¶
func (x *JSONEventHeader) String() string
type Outer ¶
type Outer struct { Omi *Outer_MiddleAA_Inner `protobuf:"bytes,1,opt,name=omi,proto3" json:"omi,omitempty"` // contains filtered or unexported fields }
func (*Outer) Descriptor
deprecated
func (*Outer) GetOmi ¶
func (x *Outer) GetOmi() *Outer_MiddleAA_Inner
func (*Outer) ProtoMessage ¶
func (*Outer) ProtoMessage()
func (*Outer) ProtoReflect ¶
func (x *Outer) ProtoReflect() protoreflect.Message
type Outer_MiddleAA_Inner ¶
type Outer_MiddleAA_Inner struct { Ival int64 `protobuf:"varint,1,opt,name=ival,proto3" json:"ival,omitempty"` Booly bool `protobuf:"varint,2,opt,name=booly,proto3" json:"booly,omitempty"` // contains filtered or unexported fields }
func (*Outer_MiddleAA_Inner) Descriptor
deprecated
func (*Outer_MiddleAA_Inner) Descriptor() ([]byte, []int)
Deprecated: Use Outer_MiddleAA_Inner.ProtoReflect.Descriptor instead.
func (*Outer_MiddleAA_Inner) GetBooly ¶
func (x *Outer_MiddleAA_Inner) GetBooly() bool
func (*Outer_MiddleAA_Inner) GetIval ¶
func (x *Outer_MiddleAA_Inner) GetIval() int64
func (*Outer_MiddleAA_Inner) ProtoMessage ¶
func (*Outer_MiddleAA_Inner) ProtoMessage()
func (*Outer_MiddleAA_Inner) ProtoReflect ¶
func (x *Outer_MiddleAA_Inner) ProtoReflect() protoreflect.Message
func (*Outer_MiddleAA_Inner) Reset ¶
func (x *Outer_MiddleAA_Inner) Reset()
func (*Outer_MiddleAA_Inner) String ¶
func (x *Outer_MiddleAA_Inner) String() string
type ProtobufEventHeader ¶
type ProtobufEventHeader struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProtobufEventHeader) Descriptor
deprecated
func (*ProtobufEventHeader) Descriptor() ([]byte, []int)
Deprecated: Use ProtobufEventHeader.ProtoReflect.Descriptor instead.
func (*ProtobufEventHeader) GetHeaders ¶
func (x *ProtobufEventHeader) GetHeaders() map[string]string
func (*ProtobufEventHeader) GetId ¶
func (x *ProtobufEventHeader) GetId() string
func (*ProtobufEventHeader) ProtoMessage ¶
func (*ProtobufEventHeader) ProtoMessage()
func (*ProtobufEventHeader) ProtoReflect ¶
func (x *ProtobufEventHeader) ProtoReflect() protoreflect.Message
func (*ProtobufEventHeader) Reset ¶
func (x *ProtobufEventHeader) Reset()
func (*ProtobufEventHeader) String ¶
func (x *ProtobufEventHeader) String() string
type String ¶
type String struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
type VENDOR ¶
type VENDOR int32
func (VENDOR) Descriptor ¶
func (VENDOR) Descriptor() protoreflect.EnumDescriptor
func (VENDOR) EnumDescriptor
deprecated
func (VENDOR) Number ¶
func (x VENDOR) Number() protoreflect.EnumNumber
func (VENDOR) Type ¶
func (VENDOR) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.