fiberserver

package
v1.2.39 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLogger added in v1.2.30

func DefaultLogger() fiberlog.AllLogger

func DefaultRESTAPI added in v1.2.30

func DefaultRESTAPI(app *fiber.App)

func Init added in v1.2.30

func Init()

func Minimal added in v1.2.34

func Minimal(restapi ...func(*fiber.App)) *fiber.App

Types

type ConfigOption added in v1.2.30

type ConfigOption struct {
	sync.Once
	// contains filtered or unexported fields
}

func New

func New() *ConfigOption

func (*ConfigOption) Load added in v1.2.30

func (o *ConfigOption) Load()

func (*ConfigOption) WithBufferSize added in v1.2.30

func (o *ConfigOption) WithBufferSize(bodySz, readBufSz, writeBufSz string) *ConfigOption

func (*ConfigOption) WithListenIPv6 added in v1.2.30

func (o *ConfigOption) WithListenIPv6() *ConfigOption

func (*ConfigOption) WithLogger added in v1.2.30

func (o *ConfigOption) WithLogger(logger fiberlog.AllLogger) *ConfigOption

func (*ConfigOption) WithName added in v1.2.30

func (o *ConfigOption) WithName(appName string) *ConfigOption

func (*ConfigOption) WithPort added in v1.2.30

func (o *ConfigOption) WithPort(port int) *ConfigOption

func (*ConfigOption) WithRESTAPI added in v1.2.30

func (o *ConfigOption) WithRESTAPI(RESTAPI func(*fiber.App)) *ConfigOption

func (*ConfigOption) WithTimeout added in v1.2.30

func (o *ConfigOption) WithTimeout(readSec, writeSec, idleSec int) *ConfigOption

Jump to

Keyboard shortcuts

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