config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileStoreInit

func FileStoreInit(local bool) *filestore.FileStore

FileStoreInit initializes the filestore object

Types

type APIConfig

type APIConfig struct {
	Host      string
	Port      int
	FileStore *filestore.FileStore
}

func Init

func Init() *APIConfig

Init initializes the API's configuration

func (*APIConfig) Address

func (app *APIConfig) Address() string

Address tells the application where to run the api out of

Jump to

Keyboard shortcuts

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