Documentation
¶
Index ¶
- Variables
- type Last
- func (*Last) Descriptor() ([]byte, []int)deprecated
- func (x *Last) GetSeconds() int64
- func (x *Last) GetStatus() string
- func (x *Last) GetUsername() string
- func (x *Last) MarshalBinary() (data []byte, err error)
- func (*Last) ProtoMessage()
- func (x *Last) ProtoReflect() protoreflect.Message
- func (x *Last) Reset()
- func (x *Last) String() string
- func (x *Last) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_model_v1_last_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Last ¶
type Last struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Seconds int64 `protobuf:"varint,2,opt,name=seconds,proto3" json:"seconds,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Last represents a user last activity entity.
func (*Last) Descriptor
deprecated
added in
v0.56.0
func (*Last) GetSeconds ¶ added in v0.56.0
func (*Last) GetUsername ¶ added in v0.56.0
func (*Last) MarshalBinary ¶ added in v0.58.0
MarshalBinary satisfies encoding.BinaryMarshaler interface.
func (*Last) ProtoMessage ¶ added in v0.56.0
func (*Last) ProtoMessage()
func (*Last) ProtoReflect ¶ added in v0.56.0
func (x *Last) ProtoReflect() protoreflect.Message
func (*Last) UnmarshalBinary ¶ added in v0.58.0
UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.