gapi

package
v0.0.0-...-17f2f0b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	UserAgent string
	ClientIP  string
}

type Server

type Server struct {
	pb.UnimplementedAccountingServer
	// contains filtered or unexported fields
}

Server serves gRPC request for accounting service

func NewServer

func NewServer(config util.Config, store db.Store) (*Server, error)

func (*Server) CreateClientProfile

func (server *Server) CreateClientProfile(ctx context.Context, req *pb.CreateClientProfileRequest) (*pb.CreateClientProfileResponse, error)

func (*Server) CreateClientToken

func (server *Server) CreateClientToken(ctx context.Context, req *pb.CreateClientTokenRequest) (*pb.CreateClientTokenResponse, error)

Jump to

Keyboard shortcuts

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