config

package
v0.0.0-...-f36bde2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RefineryConfig = Config{
	ListenAddress:    "",
	ListenPort:       3000,
	RethinkDBAddress: "0.0.0.0",
	RethinkDBPort:    32772,
	RethinkDBName:    "comsat_station",
}

Functions

func GenerateRandomID

func GenerateRandomID(prefix string) string

Types

type Config

type Config struct {
	ListenAddress     string
	ListenPort        int
	RethinkDBAddress  string
	RethinkDBPort     int
	HttpServerOptions HttpServerOptionsConfig
	RethinkDBName     string
}

type HttpServerOptionsConfig

type HttpServerOptionsConfig struct {
	ReadTimeout  int
	WriteTimeout int
}

Jump to

Keyboard shortcuts

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