Documentation
¶
Overview ¶
Package userAccount ユーザーアカウント
Index ¶
- Variables
- type UserAccount
- func (*UserAccount) Descriptor() ([]byte, []int)deprecated
- func (x *UserAccount) GetLoginAt() *timestamppb.Timestamp
- func (x *UserAccount) GetLogoutAt() *timestamppb.Timestamp
- func (x *UserAccount) GetName() string
- func (x *UserAccount) GetPassword() string
- func (x *UserAccount) GetUserId() string
- func (*UserAccount) ProtoMessage()
- func (x *UserAccount) ProtoReflect() protoreflect.Message
- func (x *UserAccount) Reset()
- func (x *UserAccount) String() string
- type UserAccounts
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
Click to show internal directories.
Click to hide internal directories.