http_engine

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IsLogRequestBody bool
	ServerHost       string `env:"SERVER_HOST"`
	ListenAddr       string `env:"LISTEN_ADDR"`
}

type CustomHttpEngine

type CustomHttpEngine struct {
	*gin.Engine
	// contains filtered or unexported fields
}

func Default

func Default(_config Config) *CustomHttpEngine

func (*CustomHttpEngine) AddPing

func (e *CustomHttpEngine) AddPing()

func (*CustomHttpEngine) Start

func (e *CustomHttpEngine) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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