apiserver

package
v0.0.0-...-7e68185 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	// contains filtered or unexported fields
}

APIServer ...

func New

func New(config *Config) *APIServer

New ...

func (*APIServer) Start

func (s *APIServer) Start() error

Start ...

type Config

type Config struct {
	LogLevel    string `toml:"log_level"`
	StoragePath string `toml:"storage_path"`
	BindAddr    string
}

Config ...

func NewConfig

func NewConfig(bindAddr string) *Config

NewConfig ...

Jump to

Keyboard shortcuts

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