api

package
v0.0.0-...-ed4ef5d Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 17 Imported by: 0

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

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