Documentation ¶
Index ¶
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
}
Backend implements the protobuf interface
func (*Backend) AddUser ¶
func (b *Backend) AddUser(ctx context.Context, _ *usersv1.AddUserRequest) (*usersv1.AddUserResponse, error)
AddUser adds a user to the in-memory store.
func (*Backend) ListUsers ¶
func (b *Backend) ListUsers(_ *usersv1.ListUsersRequest, srv usersv1.UserService_ListUsersServer) error
ListUsers lists all users in the store.
Click to show internal directories.
Click to hide internal directories.