structs

package
v0.0.0-...-1946ff8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 License: MIT Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StravaApiKey             string         `toml:"stravaApiKey"`
	StravaAthleteId          int64          `toml:"stravaAthleteId"`
	Server                   Server         `toml:"server"`
	Calendar                 ical.VCalendar `toml:"calendar"`
	CalendarEntryName        string         `toml:"calendarEntryName"`
	CalendarEntryDescription string         `toml:"calendarEntryDescription"`
	CalendarDescription      string         `toml:"calendarDescription"`
	ShortName                string         `toml:"shortName"`
	LongName                 string         `toml:"longName"`
}

Config is a structure containing global website configuration.

See the comments for Server and PageContext for more details.

type Server

type Server struct {
	Address string `toml:"address"`
	Port    int    `toml:"port"`
	Timeout int    `toml:"timout"`
}

Server is a structure containing server configuration.

Jump to

Keyboard shortcuts

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