framepb

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_frame_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Msg

type Msg struct {
	Seq  uint32 `protobuf:"varint,1,opt,name=Seq,proto3" json:"Seq,omitempty"`
	ID   uint32 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Body []byte `protobuf:"bytes,3,opt,name=Body,proto3" json:"Body,omitempty"`
	Key  uint64 `protobuf:"varint,4,opt,name=Key,proto3" json:"Key,omitempty"`
	UID  uint64 `protobuf:"varint,5,opt,name=UID,proto3" json:"UID,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg) Descriptor deprecated

func (*Msg) Descriptor() ([]byte, []int)

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetBody

func (x *Msg) GetBody() []byte

func (*Msg) GetID

func (x *Msg) GetID() uint32

func (*Msg) GetKey

func (x *Msg) GetKey() uint64

func (*Msg) GetSeq

func (x *Msg) GetSeq() uint32

func (*Msg) GetUID

func (x *Msg) GetUID() uint64

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) ProtoReflect

func (x *Msg) ProtoReflect() protoreflect.Message

func (*Msg) Reset

func (x *Msg) Reset()

func (*Msg) String

func (x *Msg) String() string

type ServiceInfo added in v0.1.4

type ServiceInfo struct {
	Sers []*ServiceStatus `protobuf:"bytes,1,rep,name=sers,proto3" json:"sers,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInfo) Descriptor deprecated added in v0.1.4

func (*ServiceInfo) Descriptor() ([]byte, []int)

Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.

func (*ServiceInfo) GetSers added in v0.1.4

func (x *ServiceInfo) GetSers() []*ServiceStatus

func (*ServiceInfo) ProtoMessage added in v0.1.4

func (*ServiceInfo) ProtoMessage()

func (*ServiceInfo) ProtoReflect added in v0.1.4

func (x *ServiceInfo) ProtoReflect() protoreflect.Message

func (*ServiceInfo) Reset added in v0.1.4

func (x *ServiceInfo) Reset()

func (*ServiceInfo) String added in v0.1.4

func (x *ServiceInfo) String() string

type ServiceStatus added in v0.1.4

type ServiceStatus struct {
	Name   string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Status [][]byte `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceStatus) Descriptor deprecated added in v0.1.4

func (*ServiceStatus) Descriptor() ([]byte, []int)

Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.

func (*ServiceStatus) GetName added in v0.1.4

func (x *ServiceStatus) GetName() string

func (*ServiceStatus) GetStatus added in v0.1.4

func (x *ServiceStatus) GetStatus() [][]byte

func (*ServiceStatus) ProtoMessage added in v0.1.4

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) ProtoReflect added in v0.1.4

func (x *ServiceStatus) ProtoReflect() protoreflect.Message

func (*ServiceStatus) Reset added in v0.1.4

func (x *ServiceStatus) Reset()

func (*ServiceStatus) String added in v0.1.4

func (x *ServiceStatus) String() string

type Status added in v0.1.4

type Status struct {
	Key    string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Addr   string `protobuf:"bytes,2,opt,name=Addr,proto3" json:"Addr,omitempty"`
	Count  uint32 `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"`
	Weight uint32 `protobuf:"varint,4,opt,name=Weight,proto3" json:"Weight,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated added in v0.1.4

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetAddr added in v0.1.4

func (x *Status) GetAddr() string

func (*Status) GetCount added in v0.1.4

func (x *Status) GetCount() uint32

func (*Status) GetKey added in v0.1.4

func (x *Status) GetKey() string

func (*Status) GetWeight added in v0.1.4

func (x *Status) GetWeight() uint32

func (*Status) ProtoMessage added in v0.1.4

func (*Status) ProtoMessage()

func (*Status) ProtoReflect added in v0.1.4

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset added in v0.1.4

func (x *Status) Reset()

func (*Status) String added in v0.1.4

func (x *Status) String() string

Jump to

Keyboard shortcuts

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