Documentation ¶
Index ¶
- type Account
- func (a *Account) CreateRole(ctx context.Context, req *account.CreateRoleRequest, ...) error
- func (a *Account) CreateUser(ctx context.Context, req *account.CreateUserRequest, ...) error
- func (a *Account) DeleteRole(ctx context.Context, req *account.DeleteRoleRequest, ...) error
- func (a *Account) DeleteUser(ctx context.Context, req *account.DeleteUserRequest, ...) error
- func (a *Account) ReadAllRoles(ctx context.Context, req *account.ReadAllRolesRequest, ...) error
- func (a *Account) ReadRole(ctx context.Context, req *account.ReadRoleRequest, ...) error
- func (a *Account) ReadUser(ctx context.Context, req *account.ReadUserRequest, ...) error
- func (a *Account) SearchUser(ctx context.Context, req *account.SearchUserRequest, ...) error
- func (a *Account) UpdateRole(ctx context.Context, req *account.UpdateRoleRequest, ...) error
- func (a *Account) UpdateUser(ctx context.Context, req *account.UpdateUserRequest, ...) error
- type Auth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct{}
func (*Account) CreateRole ¶
func (a *Account) CreateRole(ctx context.Context, req *account.CreateRoleRequest, res *account.CreateRoleResponse) error
func (*Account) CreateUser ¶
func (a *Account) CreateUser(ctx context.Context, req *account.CreateUserRequest, res *account.CreateUserResponse) error
func (*Account) DeleteRole ¶
func (a *Account) DeleteRole(ctx context.Context, req *account.DeleteRoleRequest, res *account.DeleteRoleResponse) error
func (*Account) DeleteUser ¶
func (a *Account) DeleteUser(ctx context.Context, req *account.DeleteUserRequest, res *account.DeleteUserResponse) error
func (*Account) ReadAllRoles ¶
func (a *Account) ReadAllRoles(ctx context.Context, req *account.ReadAllRolesRequest, res *account.ReadAllRolesResponse) error
func (*Account) ReadRole ¶
func (a *Account) ReadRole(ctx context.Context, req *account.ReadRoleRequest, res *account.ReadRoleResponse) error
func (*Account) ReadUser ¶
func (a *Account) ReadUser(ctx context.Context, req *account.ReadUserRequest, res *account.ReadUserResponse) error
func (*Account) SearchUser ¶
func (a *Account) SearchUser(ctx context.Context, req *account.SearchUserRequest, res *account.SearchUserResponse) error
func (*Account) UpdateRole ¶
func (a *Account) UpdateRole(ctx context.Context, req *account.UpdateRoleRequest, res *account.UpdateRoleResponse) error
func (*Account) UpdateUser ¶
func (a *Account) UpdateUser(ctx context.Context, req *account.UpdateUserRequest, res *account.UpdateUserResponse) error
type Auth ¶
type Auth struct{}
func (*Auth) Authenticate ¶
func (a *Auth) Authenticate(ctx context.Context, req *auth.AuthenticateRequest, res *auth.AuthenticateResponse) error
func (*Auth) Authorize ¶
func (a *Auth) Authorize(ctx context.Context, req *auth.AuthorizeRequest, res *auth.AuthorizeResponse) error
Click to show internal directories.
Click to hide internal directories.