Documentation ¶
Index ¶
- func DefaultLogger() fiberlog.AllLogger
- func DefaultRESTAPI(app *fiber.App)
- func Init()
- func Minimal(restapi ...func(*fiber.App)) *fiber.App
- type ConfigOption
- func (o *ConfigOption) Load()
- func (o *ConfigOption) WithBufferSize(bodySz, readBufSz, writeBufSz string) *ConfigOption
- func (o *ConfigOption) WithListenIPv6() *ConfigOption
- func (o *ConfigOption) WithLogger(logger fiberlog.AllLogger) *ConfigOption
- func (o *ConfigOption) WithName(appName string) *ConfigOption
- func (o *ConfigOption) WithPort(port int) *ConfigOption
- func (o *ConfigOption) WithRESTAPI(RESTAPI func(*fiber.App)) *ConfigOption
- func (o *ConfigOption) WithTimeout(readSec, writeSec, idleSec int) *ConfigOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogger ¶ added in v1.2.30
func DefaultRESTAPI ¶ added in v1.2.30
func DefaultRESTAPI(app *fiber.App)
Types ¶
type ConfigOption ¶ added in v1.2.30
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
Click to show internal directories.
Click to hide internal directories.