package
Version:
v0.0.0-...-6cb7d0e
Opens a new window with list of versions in this module.
Published: Jan 6, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
ServerPort string `yaml:"server_port"`
BasePath string `yaml:"base_path"`
RequestTimeout time.Duration `yaml:"request_timeout"`
}
Config - структура конфига сервера
Server - структура сервера
NewServer создаёт новый сервер
NewRouter создаёт новый роутер
Source Files
¶
Click to show internal directories.
Click to hide internal directories.