apiserver

package
v0.0.0-...-4636899 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(config *Config) error

Start ...

Types

type Config

type Config struct {
	Bindport    string `toml:"bind_port"`
	Loglevel    string `toml:"log_level"`
	DataBaseURL string `toml:"database_url"`
	SessionKey  string `toml:"session_key"`
}

Config holds structure for service config

func NewConfig

func NewConfig() *Config

NewConfig return new instance of service config

Jump to

Keyboard shortcuts

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