Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
User is a struct that represents the dto of a user basic values.
func NewUserFromEntity ¶
NewUserFromEntity creates a new *User from entity.
type UserFilter ¶
type UserFilter struct {
// contains filtered or unexported fields
}
UserFilter is a struct that represents the filter dto of a user.
func NewUserFilter ¶
func NewUserFilter(pb *pb.UserFilter) *UserFilter
NewUserFilter creates a new *UserFilter.
func NewUserFilterFromEntity ¶
func NewUserFilterFromEntity(entity me.UserFilter) *UserFilter
NewUserFilterFromEntity creates a new *UserFilter from entity.
func (*UserFilter) String ¶
func (s *UserFilter) String() string
String returns a string representation of the UserFilter.
func (*UserFilter) ToEntity ¶
func (s *UserFilter) ToEntity() *me.UserFilter
ToEntity returns a entity representation of the UserFilter.
type UserPassword ¶
type UserPassword struct {
// contains filtered or unexported fields
}
UserPassword is a struct that represents the dto of a user password values.
func NewUserPassword ¶
func NewUserPassword(pb *pb.UserPassword) *UserPassword
NewUserPassword creates a new *UserPassword.
func NewUserPasswordFromEntity ¶
func NewUserPasswordFromEntity(entity me.UserPassword) *UserPassword
NewUserPasswordFromEntity creates a new *UserPassword from entity.
func (*UserPassword) String ¶
func (s *UserPassword) String() string
String returns a string representation of the User.
func (*UserPassword) ToEntity ¶
func (s *UserPassword) ToEntity() *me.UserPassword
ToEntity returns a entity representation of the UserPassword.
func (*UserPassword) ToPb ¶
func (s *UserPassword) ToPb() *pb.UserPassword
ToPb returns a protobuf representation of the UserPassword.
type UserPasswords ¶
type UserPasswords []*UserPassword
func NewUserPasswordFromEntities ¶
func NewUserPasswordFromEntities(entities []me.UserPassword) UserPasswords
NewUserPasswordsFromEntities creates a new []*UserPassword from entities.
func (UserPasswords) ToPbs ¶
func (s UserPasswords) ToPbs() *pb.UserPasswords
ToPbs returns a protobuf representation of the UserPasswords.
type Users ¶
func NewUserFromEntities ¶
NewUsersFromEntities creates a new []*User from entities.