Documentation
¶
Index ¶
- Constants
- Variables
- type LockMsg
- func (*LockMsg) Descriptor() ([]byte, []int)deprecated
- func (x *LockMsg) GetLocal() int64
- func (x *LockMsg) GetLocalTime() string
- func (x *LockMsg) GetName() string
- func (x *LockMsg) GetTimeout() int64
- func (*LockMsg) ProtoMessage()
- func (x *LockMsg) ProtoReflect() protoreflect.Message
- func (x *LockMsg) Reset()
- func (x *LockMsg) String() string
- type Locker
Constants ¶
View Source
const ( MasterLocker = "master" CliLocker = "cli" )
Variables ¶
View Source
var File_common_fileLocker_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LockMsg ¶
type LockMsg struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"` Local int64 `protobuf:"varint,3,opt,name=local,proto3" json:"local,omitempty"` LocalTime string `protobuf:"bytes,4,opt,name=localTime,proto3" json:"localTime,omitempty"` // contains filtered or unexported fields }
func (*LockMsg) Descriptor
deprecated
func (*LockMsg) GetLocalTime ¶
func (*LockMsg) GetTimeout ¶
func (*LockMsg) ProtoMessage ¶
func (*LockMsg) ProtoMessage()
func (*LockMsg) ProtoReflect ¶
func (x *LockMsg) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.