go-micro: github.com/micro/go-micro/registry/gossip/proto Index | Files

package gossip

import "github.com/micro/go-micro/registry/gossip/proto"

Package gossip is a generated protocol buffer package.

It is generated from these files:

github.com/micro/go-micro/registry/gossip/proto/gossip.proto

It has these top-level messages:

Update

Index

Package Files

gossip.micro.go gossip.pb.go

type Update Uses

type Update struct {
    // time to live for entry
    Expires uint64 `protobuf:"varint,1,opt,name=expires,proto3" json:"expires,omitempty"`
    // type of update
    Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
    // what action is taken
    Action int32 `protobuf:"varint,3,opt,name=action,proto3" json:"action,omitempty"`
    // any other associated metadata about the data
    Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // the payload data;
    Data                 []byte   `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Update is the message broadcast

func (*Update) Descriptor Uses

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

func (*Update) GetAction Uses

func (m *Update) GetAction() int32

func (*Update) GetData Uses

func (m *Update) GetData() []byte

func (*Update) GetExpires Uses

func (m *Update) GetExpires() uint64

func (*Update) GetMetadata Uses

func (m *Update) GetMetadata() map[string]string

func (*Update) GetType Uses

func (m *Update) GetType() int32

func (*Update) ProtoMessage Uses

func (*Update) ProtoMessage()

func (*Update) Reset Uses

func (m *Update) Reset()

func (*Update) String Uses

func (m *Update) String() string

func (*Update) XXX_DiscardUnknown Uses

func (m *Update) XXX_DiscardUnknown()

func (*Update) XXX_Marshal Uses

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

func (*Update) XXX_Merge Uses

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

func (*Update) XXX_Size Uses

func (m *Update) XXX_Size() int

func (*Update) XXX_Unmarshal Uses

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

Package gossip imports 3 packages (graph) and is imported by 5 packages. Updated 2019-03-13. Refresh now. Tools for package owners.