userAccount

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package userAccount ユーザーアカウント

Index

Constants

This section is empty.

Variables

View Source
var File_account_userAccount_user_account_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UserAccount

type UserAccount struct {
	UserId   string                 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Name     string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Password string                 `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	LoginAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=login_at,json=loginAt,proto3" json:"login_at,omitempty"`
	LogoutAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=logout_at,json=logoutAt,proto3" json:"logout_at,omitempty"`
	// contains filtered or unexported fields
}

func NewUserAccount

func NewUserAccount() *UserAccount

func SetUserAccount

func SetUserAccount(userId string, name string, password string, loginAt *timestamppb.Timestamp, logoutAt *timestamppb.Timestamp) *UserAccount

func (*UserAccount) Descriptor deprecated

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

Deprecated: Use UserAccount.ProtoReflect.Descriptor instead.

func (*UserAccount) GetLoginAt

func (x *UserAccount) GetLoginAt() *timestamppb.Timestamp

func (*UserAccount) GetLogoutAt

func (x *UserAccount) GetLogoutAt() *timestamppb.Timestamp

func (*UserAccount) GetName

func (x *UserAccount) GetName() string

func (*UserAccount) GetPassword

func (x *UserAccount) GetPassword() string

func (*UserAccount) GetUserId

func (x *UserAccount) GetUserId() string

func (*UserAccount) ProtoMessage

func (*UserAccount) ProtoMessage()

func (*UserAccount) ProtoReflect

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

func (*UserAccount) Reset

func (x *UserAccount) Reset()

func (*UserAccount) String

func (x *UserAccount) String() string

type UserAccounts

type UserAccounts []*UserAccount

func NewUserAccounts

func NewUserAccounts() UserAccounts

Jump to

Keyboard shortcuts

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