http

package
v0.0.0-...-bb8a7cf Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRouter

func NewRouter(cfg *Config, lifecycle fx.Lifecycle) *gin.Engine

Types

type Config

type Config struct {
	Port int `yaml:"port"`
}

func NewConfig

func NewConfig(cfg *config.YAML) (*Config, error)

Jump to

Keyboard shortcuts

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