apiserver

package
v0.0.0-...-dacb89a Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(store store.Store) *server

func Start

func Start(config *Config) error

Types

type Config

type Config struct {
	BindAdr     string `toml:"bind_addr"`
	Loglevel    string `toml:"log_level"`
	DatabaseURL string `toml:"database_url"`
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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