__

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_groupcache_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplyRequest added in v0.1.2

type ApplyRequest struct {
	Group  *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
	Key    *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	FnName *string `protobuf:"bytes,3,req,name=fn_name,json=fnName" json:"fn_name,omitempty"`
	Args   []byte  `protobuf:"bytes,4,opt,name=args" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyRequest) Descriptor deprecated added in v0.1.2

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

Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.

func (*ApplyRequest) GetArgs added in v0.1.2

func (x *ApplyRequest) GetArgs() []byte

func (*ApplyRequest) GetFnName added in v0.1.2

func (x *ApplyRequest) GetFnName() string

func (*ApplyRequest) GetGroup added in v0.1.2

func (x *ApplyRequest) GetGroup() string

func (*ApplyRequest) GetKey added in v0.1.2

func (x *ApplyRequest) GetKey() string

func (*ApplyRequest) ProtoMessage added in v0.1.2

func (*ApplyRequest) ProtoMessage()

func (*ApplyRequest) ProtoReflect added in v0.1.2

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

func (*ApplyRequest) Reset added in v0.1.2

func (x *ApplyRequest) Reset()

func (*ApplyRequest) String added in v0.1.2

func (x *ApplyRequest) String() string

type ApplyResponse added in v0.1.2

type ApplyResponse struct {
	Value     []byte   `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	MinuteQps *float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps" json:"minute_qps,omitempty"`
	Expire    *int64   `protobuf:"varint,3,opt,name=expire" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use ApplyResponse.ProtoReflect.Descriptor instead.

func (*ApplyResponse) GetExpire added in v0.1.2

func (x *ApplyResponse) GetExpire() int64

func (*ApplyResponse) GetMinuteQps added in v0.1.2

func (x *ApplyResponse) GetMinuteQps() float64

func (*ApplyResponse) GetValue added in v0.1.2

func (x *ApplyResponse) GetValue() []byte

func (*ApplyResponse) ProtoMessage added in v0.1.2

func (*ApplyResponse) ProtoMessage()

func (*ApplyResponse) ProtoReflect added in v0.1.2

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

func (*ApplyResponse) Reset added in v0.1.2

func (x *ApplyResponse) Reset()

func (*ApplyResponse) String added in v0.1.2

func (x *ApplyResponse) String() string

type GetRequest

type GetRequest struct {
	Group *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
	Key   *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"` // not actually required/guaranteed to be UTF-8
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetGroup

func (x *GetRequest) GetGroup() string

func (*GetRequest) GetKey

func (x *GetRequest) GetKey() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v0.1.2

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Value     []byte   `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
	MinuteQps *float64 `protobuf:"fixed64,2,opt,name=minute_qps,json=minuteQps" json:"minute_qps,omitempty"`
	Expire    *int64   `protobuf:"varint,3,opt,name=expire" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetExpire

func (x *GetResponse) GetExpire() int64

func (*GetResponse) GetMinuteQps

func (x *GetResponse) GetMinuteQps() float64

func (*GetResponse) GetValue

func (x *GetResponse) GetValue() []byte

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect added in v0.1.2

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type SetRequest

type SetRequest struct {
	Group  *string `protobuf:"bytes,1,req,name=group" json:"group,omitempty"`
	Key    *string `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Value  []byte  `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
	Expire *int64  `protobuf:"varint,4,opt,name=expire" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRequest) Descriptor deprecated

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) GetExpire

func (x *SetRequest) GetExpire() int64

func (*SetRequest) GetGroup

func (x *SetRequest) GetGroup() string

func (*SetRequest) GetKey

func (x *SetRequest) GetKey() string

func (*SetRequest) GetValue

func (x *SetRequest) GetValue() []byte

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect added in v0.1.2

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

func (*SetRequest) Reset

func (x *SetRequest) Reset()

func (*SetRequest) String

func (x *SetRequest) String() string

Jump to

Keyboard shortcuts

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