api

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func New

func New(
	cfg *config.Config,
	log *zap.Logger,
) (*API, error)

func (*API) AWSLambdaHandler

func (api *API) AWSLambdaHandler(
	ctx context.Context,
	req events.APIGatewayProxyRequest,
) (events.APIGatewayProxyResponse, error)

func (*API) AttachRoutes added in v0.4.2

func (api *API) AttachRoutes()

func (*API) LoadMiddlewares added in v0.4.2

func (api *API) LoadMiddlewares() error

func (*API) Run

func (api *API) Run() error

func (*API) Shutdown

func (api *API) Shutdown() error

Jump to

Keyboard shortcuts

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