api

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the struct that represent the API server

func New

func New(config *config.Config,
	services service.Services,
	zapLog *zap.Logger,
) Server

New is used to create a new instance of the API server

func (*Server) Start

func (s *Server) Start()

Start launch the API server

func (*Server) StartAwsLambda added in v1.8.0

func (s *Server) StartAwsLambda()

StartAwsLambda is starting the relay proxy as an AWS Lambda

func (*Server) Stop

func (s *Server) Stop()

Stop shutdown the API server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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