lastmodel

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Deprecated: Use Last.ProtoReflect.Descriptor instead.

func (*Last) GetSeconds added in v0.56.0

func (x *Last) GetSeconds() int64

func (*Last) GetStatus added in v0.56.0

func (x *Last) GetStatus() string

func (*Last) GetUsername added in v0.56.0

func (x *Last) GetUsername() string

func (*Last) MarshalBinary added in v0.58.0

func (x *Last) MarshalBinary() (data []byte, err error)

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) Reset added in v0.56.0

func (x *Last) Reset()

func (*Last) String added in v0.56.0

func (x *Last) String() string

func (*Last) UnmarshalBinary added in v0.58.0

func (x *Last) UnmarshalBinary(data []byte) error

UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.

Jump to

Keyboard shortcuts

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