Documentation ¶
Index ¶
- func OrderBy(in []*charonrpc.Order) []model.RowOrder
- func RefreshTokenQuery(q *charonrpc.RefreshTokenQuery) *model.RefreshTokenCriteria
- func ReverseGroup(ent *model.GroupEntity) (*charonrpc.Group, error)
- func ReverseGroups(in []*model.GroupEntity) ([]*charonrpc.Group, error)
- func ReverseRefreshToken(ent *model.RefreshTokenEntity) (*charonrpc.RefreshToken, error)
- func ReverseRefreshTokens(in []*model.RefreshTokenEntity) ([]*charonrpc.RefreshToken, error)
- func ReverseUser(ent *model.UserEntity) (*charonrpc.User, error)
- func ReverseUsers(in []*model.UserEntity) ([]*charonrpc.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshTokenQuery ¶
func RefreshTokenQuery(q *charonrpc.RefreshTokenQuery) *model.RefreshTokenCriteria
func ReverseGroup ¶
func ReverseGroup(ent *model.GroupEntity) (*charonrpc.Group, error)
ReverseGroup maps internal entity struct into protobuf message used by a client.
func ReverseGroups ¶
func ReverseGroups(in []*model.GroupEntity) ([]*charonrpc.Group, error)
ReverseGroups does same thing like ReverseGroup but operate on slices.
func ReverseRefreshToken ¶
func ReverseRefreshToken(ent *model.RefreshTokenEntity) (*charonrpc.RefreshToken, error)
func ReverseRefreshTokens ¶
func ReverseRefreshTokens(in []*model.RefreshTokenEntity) ([]*charonrpc.RefreshToken, error)
func ReverseUser ¶
func ReverseUser(ent *model.UserEntity) (*charonrpc.User, error)
func ReverseUsers ¶
func ReverseUsers(in []*model.UserEntity) ([]*charonrpc.User, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.