Documentation ¶
Index ¶
- Variables
- type BFFAdmin
- func (s *BFFAdmin) CreateRole(ctx context.Context, in *v1.CreateRoleRequest) (*common.CommonCreate, error)
- func (s *BFFAdmin) DeleteRoles(ctx context.Context, in *common.CommonDeletesRequest) (*emptypb.Empty, error)
- func (s *BFFAdmin) GetRole(ctx context.Context, in *v1.GetRoleRequest) (*v1.Role, error)
- func (s *BFFAdmin) ListRoles(ctx context.Context, in *common.PagingRequest) (*common.PagingResponse, error)
- func (s *BFFAdmin) UpdateRole(ctx context.Context, in *v1.UpdateRoleRequest) (*common.CommonUpdate, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewBFFAdmin)
Functions ¶
This section is empty.
Types ¶
type BFFAdmin ¶
type BFFAdmin struct { v1.UnimplementedBFFAdminServer // contains filtered or unexported fields }
func NewBFFAdmin ¶
func NewBFFAdmin(ac *biz.ACLUsecase) *BFFAdmin
func (*BFFAdmin) CreateRole ¶
func (s *BFFAdmin) CreateRole(ctx context.Context, in *v1.CreateRoleRequest) (*common.CommonCreate, error)
func (*BFFAdmin) DeleteRoles ¶
func (*BFFAdmin) ListRoles ¶
func (s *BFFAdmin) ListRoles(ctx context.Context, in *common.PagingRequest) (*common.PagingResponse, error)
func (*BFFAdmin) UpdateRole ¶
func (s *BFFAdmin) UpdateRole(ctx context.Context, in *v1.UpdateRoleRequest) (*common.CommonUpdate, error)
Click to show internal directories.
Click to hide internal directories.