api

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: GPL-3.0 Imports: 20 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 *lib.Config, log *zap.Logger) (*API, error)

func (*API) AWSLambdaHandler

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

func (*API) Run

func (api *API) Run() error

func (*API) Shutdown

func (api *API) Shutdown() error

type GenericRequest added in v0.3.3

type GenericRequest interface {
	SetUser(string)
	SetToken(string)
	GetUser() string
	GetToken() string
	GetTitle() string
	GetMessage() string
	GetExternalURL() string
	ToString() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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