Documentation ¶
Index ¶
- type Backend
- func (b *Backend) AddUser(ctx context.Context, user *pbExample.User) (*types.Empty, error)
- func (b *Backend) ListUsers(req *pbExample.ListUsersRequest, srv pbExample.UserService_ListUsersServer) error
- func (b *Backend) ListUsersByRole(req *pbExample.UserRole, srv pbExample.UserService_ListUsersByRoleServer) error
- func (b *Backend) UpdateUser(ctx context.Context, req *pbExample.UpdateUserRequest) (*pbExample.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) ListUsers ¶
func (b *Backend) ListUsers(req *pbExample.ListUsersRequest, srv pbExample.UserService_ListUsersServer) error
func (*Backend) ListUsersByRole ¶
func (*Backend) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.