api

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 18 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,
	monitoringService service.Monitoring,
	goFF *ffclient.GoFeatureFlag,
	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

Jump to

Keyboard shortcuts

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