Documentation ¶
Index ¶
- Variables
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetId() string
- func (x *Request) GetResource() string
- func (x *Request) GetTtl() int64
- func (x *Request) GetWait() int64
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var File_lock_v1beta1_lock_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Ttl *int64 `protobuf:"varint,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` Wait *int64 `protobuf:"varint,4,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetResource ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.