Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(store v1.DataFactory) *service
Types ¶
type ServiceFactory ¶
type ServiceFactory interface {
User() UserSrv
}
type UserDTOList ¶
type UserSrv ¶
type UserSrv interface { List(ctx context.Context, orderby []string, opts metav1.ListMeta) (*UserDTOList, error) Create(ctx context.Context, user *UserDTO) error Update(ctx context.Context, user *UserDTO) error GetByID(ctx context.Context, ID uint64) (*UserDTO, error) GetByMobile(ctx context.Context, mobile string) (*UserDTO, error) }
Click to show internal directories.
Click to hide internal directories.