Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCClient ¶
type GRPCClient interface { CreateUser(ctx context.Context, username, password string) (*models.User, error) LoginUser(ctx context.Context, username, password string) (*models.User, error) DeleteUser(ctx context.Context, username, password string) error GetUser(ctx context.Context, username string) (*models.User, error) }
func NewGRPCClient ¶
NewGRPCClient is a grpcClient constructor
Click to show internal directories.
Click to hide internal directories.