services

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthGrpcService

type AuthGrpcService interface {
	VerifyAccessToken(*pb.VerifyAccessTokenRequest, string) (*pb.VerifyAccessTokenResponse, error)
}

func NewAuthServiceGrpcClient

func NewAuthServiceGrpcClient(serverAddress string, serviceAuthPrivateKeys []string) (AuthGrpcService, error)

type AuthServiceGrpcClient

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

func (*AuthServiceGrpcClient) Close

func (c *AuthServiceGrpcClient) Close() error

func (*AuthServiceGrpcClient) VerifyAccessToken

func (c *AuthServiceGrpcClient) VerifyAccessToken(payload *pb.VerifyAccessTokenRequest, accessToken string) (*pb.VerifyAccessTokenResponse, error)

Directories

Path Synopsis
Package mockservices is a generated GoMock package.
Package mockservices is a generated GoMock package.

Jump to

Keyboard shortcuts

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