config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server Server
	Logger Logger
}

Config is struct for Config

func NewConfig

func NewConfig() *Config

NewConfig returns a new instance of Config instance

type Logger

type Logger struct {
	Level string
}

Logger is struct for Logger

type Server

type Server struct {
	// Path to OpenAPI specification
	Path string
	Port string
}

Server is struct for Server

Jump to

Keyboard shortcuts

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