grpcclient

package
v3.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartAuthClient

func StartAuthClient()

func StopGrpcClient

func StopGrpcClient()

Types

type AuthInfo

type AuthInfo struct {
	Authorised  bool
	Name        string
	EmailId     string
	PhoneNumber string
	Role        string
}

type GrpcClient

type GrpcClient struct {
	// contains filtered or unexported fields
}

func GetAuthClient

func GetAuthClient() *GrpcClient

func (*GrpcClient) Verify

func (a *GrpcClient) Verify(accessToken string, routeName string) (AuthInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL