Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupAuthClient ¶
func SetupAuthClient() error
Types ¶
type AuthClient ¶
type AuthClient struct { Url string DialOptions []grpc.DialOption }
var Auth *AuthClient
func (*AuthClient) Login ¶
func (c *AuthClient) Login(req *authPb.LoginRequest) (*authPb.LoginResponse, error)
func (*AuthClient) Refresh ¶
func (c *AuthClient) Refresh(req *authPb.RefreshRequest) (*authPb.RefreshResponse, error)
func (*AuthClient) Register ¶
func (c *AuthClient) Register(req *authPb.RegisterRequest) (*authPb.RegisterResponse, error)
Click to show internal directories.
Click to hide internal directories.