api

package
v0.0.0-...-364f96b Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: MIT Imports: 8 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 {
	Port         string
	OrderStorage model.OrderStorage
	RouteFetcher service.RouteFetcher
	// contains filtered or unexported fields
}

func (*Config) CreateRoute

func (c *Config) CreateRoute()

func (*Config) GetHTTPHandler

func (c *Config) GetHTTPHandler() http.Handler

func (Config) InitDB

func (c Config) InitDB()

func (Config) ListenAndServe

func (c Config) ListenAndServe() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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