Documentation ¶
Index ¶
- type Update
- func (*Update) Descriptor() ([]byte, []int)
- func (m *Update) GetAction() int32
- func (m *Update) GetData() []byte
- func (m *Update) GetExpires() uint64
- func (m *Update) GetMetadata() map[string]string
- func (m *Update) GetType() int32
- func (*Update) ProtoMessage()
- func (m *Update) Reset()
- func (m *Update) String() string
- func (m *Update) XXX_DiscardUnknown()
- func (m *Update) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Update) XXX_Merge(src proto.Message)
- func (m *Update) XXX_Size() int
- func (m *Update) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Update ¶
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 `` /* 157-byte string literal not displayed */ // 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 ¶
func (*Update) GetExpires ¶
func (*Update) GetMetadata ¶
func (*Update) ProtoMessage ¶
func (*Update) ProtoMessage()
func (*Update) XXX_DiscardUnknown ¶
func (m *Update) XXX_DiscardUnknown()
func (*Update) XXX_Marshal ¶
func (*Update) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.