presentation

package
v0.0.0-...-436674b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grpc

Grpc is the gRPC API for the application

func NewGrpc

func NewGrpc(qh pp_query.QueryPort, ch pp_command.CommandPort) *Grpc

NewGrpc creates a new instance of Grpc

func (*Grpc) GetErrors

func (a *Grpc) GetErrors(ctx context.Context, req *pb_error.ErrorRequest) (*pb_error.Errors, error)

GetErrors returns the embedded errors.

func (*Grpc) Login

Login generates an authentication token if the given user values are valid.

func (*Grpc) Logout

Logout clears some footprints for the user.

func (*Grpc) Refresh

Refresh regenerate an authentication token.

func (*Grpc) Serve

func (a *Grpc) Serve(port string)

Serve starts the API server

Jump to

Keyboard shortcuts

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