config

package
v0.0.0-...-16abdb1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config loads configuration for the opentimegrid server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DB

func DB() string

func Redis

func Redis() string

Types

type ServerConfiguration

type ServerConfiguration struct {
	Addr   string
	Secure bool
}

ServerConfiguration configures the web server.

func Server

func Server() *ServerConfiguration

Jump to

Keyboard shortcuts

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