lockv1beta1

package
v1.32.0-20230315120145... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_lock_v1beta1_lock_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Lock

type Lock 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 (*Lock) Descriptor deprecated

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

Deprecated: Use Lock.ProtoReflect.Descriptor instead.

func (*Lock) GetId

func (x *Lock) GetId() string

func (*Lock) GetResource

func (x *Lock) GetResource() string

func (*Lock) GetTtl

func (x *Lock) GetTtl() int64

func (*Lock) GetWait

func (x *Lock) GetWait() int64

func (*Lock) ProtoMessage

func (*Lock) ProtoMessage()

func (*Lock) ProtoReflect

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

func (*Lock) Reset

func (x *Lock) Reset()

func (*Lock) String

func (x *Lock) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetOk

func (x *Response) GetOk() bool

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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