gossip

package
v1.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGossip        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGossip          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGossip = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Operation_name = map[int32]string{
	0: "Unknown",
	1: "Set",
	2: "Delete",
}
View Source
var Operation_value = map[string]int32{
	"Unknown": 0,
	"Set":     1,
	"Delete":  2,
}

Functions

This section is empty.

Types

type CacheKeyItem

type CacheKeyItem struct {
	Operation            Operation      `protobuf:"varint,1,opt,name=Operation,proto3,enum=gossip.Operation" json:"Operation,omitempty"`
	CacheKey             cache.CacheKey `protobuf:"bytes,2,opt,name=CacheKey,proto3" json:"CacheKey"`
	TargetAddress        string         `protobuf:"bytes,3,opt,name=TargetAddress,proto3" json:"TargetAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CacheKeyItem) Descriptor

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

func (*CacheKeyItem) GetCacheKey

func (m *CacheKeyItem) GetCacheKey() cache.CacheKey

func (*CacheKeyItem) GetOperation

func (m *CacheKeyItem) GetOperation() Operation

func (*CacheKeyItem) GetTargetAddress

func (m *CacheKeyItem) GetTargetAddress() string

func (*CacheKeyItem) Marshal

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

func (*CacheKeyItem) MarshalTo

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

func (*CacheKeyItem) MarshalToSizedBuffer

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

func (*CacheKeyItem) ProtoMessage

func (*CacheKeyItem) ProtoMessage()

func (*CacheKeyItem) Reset

func (m *CacheKeyItem) Reset()

func (*CacheKeyItem) Size

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

func (*CacheKeyItem) String

func (m *CacheKeyItem) String() string

func (*CacheKeyItem) Unmarshal

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

func (*CacheKeyItem) XXX_DiscardUnknown

func (m *CacheKeyItem) XXX_DiscardUnknown()

func (*CacheKeyItem) XXX_Marshal

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

func (*CacheKeyItem) XXX_Merge

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

func (*CacheKeyItem) XXX_Size

func (m *CacheKeyItem) XXX_Size() int

func (*CacheKeyItem) XXX_Unmarshal

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

type Operation

type Operation int32
const (
	Operation_Unknown Operation = 0
	Operation_Set     Operation = 1
	Operation_Delete  Operation = 2
)

func (Operation) EnumDescriptor

func (Operation) EnumDescriptor() ([]byte, []int)

func (Operation) String

func (x Operation) String() string

Jump to

Keyboard shortcuts

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