user

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_user_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type User

type User struct {
	Id   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id"`
	Data map[string]string `` // used by the sdk client
	/* 139-byte string literal not displayed */
	TaggedData map[string]*User_Data `` /* 169-byte string literal not displayed */
	LastSeen   int64                 `protobuf:"varint,4,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen"`
	CreatedAt  int64                 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetData

func (x *User) GetData() map[string]string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetLastSeen

func (x *User) GetLastSeen() int64

func (*User) GetTaggedData

func (x *User) GetTaggedData() map[string]*User_Data

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type User_Data

type User_Data struct {
	Value map[string]string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*User_Data) Descriptor deprecated

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

Deprecated: Use User_Data.ProtoReflect.Descriptor instead.

func (*User_Data) GetValue

func (x *User_Data) GetValue() map[string]string

func (*User_Data) ProtoMessage

func (*User_Data) ProtoMessage()

func (*User_Data) ProtoReflect

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

func (*User_Data) Reset

func (x *User_Data) Reset()

func (*User_Data) String

func (x *User_Data) String() string

Jump to

Keyboard shortcuts

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