bottle

package module
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

README

Bottle

⚙️ Bottle is a framework for developing microservices in go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(ctx *fiber.Ctx, err error) error

func OnListen

func OnListen(ctx context.Context) func() error

func OnShutdown

func OnShutdown(ctx context.Context) func() error

Types

type Application

type Application struct {
	*fiber.App
}

func New

func New(configs ...*Config) *Application

func (*Application) Run

func (a *Application) Run()

type Config added in v0.0.22

type Config struct {
	UploadLimit int64
}

Directories

Path Synopsis
pkg
argon
Package argon is a generated GoMock package.
Package argon is a generated GoMock package.
crypto/blake3
Package blake3 is a generated GoMock package.
Package blake3 is a generated GoMock package.
env
log
rest
Package rest is a generated GoMock package.
Package rest is a generated GoMock package.
uuid
Package uuid is a generated GoMock package.
Package uuid is a generated GoMock package.

Jump to

Keyboard shortcuts

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