Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser( ctx context.Context, name, username, password string, roles []orisun.Role, boundary string, saveEvents admincommon.SaveEventsType, getEvents admincommon.GetEventsType, logger l.Logger, currentUserId *string, ) (*ev.UserCreated, error)
Types ¶
type AddNewUserRequest ¶
type CreateUserHandler ¶
type CreateUserHandler struct {
// contains filtered or unexported fields
}
func NewCreateUserHandler ¶
func NewCreateUserHandler( logger l.Logger, boundary string, saveEvents admincommon.SaveEventsType, getEvents admincommon.GetEventsType) *CreateUserHandler
type UserExistsError ¶
type UserExistsError struct {
// contains filtered or unexported fields
}
func (UserExistsError) Error ¶
func (e UserExistsError) Error() string
Click to show internal directories.
Click to hide internal directories.