structs

package
v0.0.0-...-1cae76b Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalendarTemplateData

type CalendarTemplateData struct {
	Show   myradio.ShowMeta
	User   myradio.User
	Config Config
}

type Config

type Config struct {
	Server              Server         `toml:"server"`
	Calendar            ical.VCalendar `toml:"calendar"`
	ShortName           string         `toml:"shortName"`
	LongName            string         `toml:"longName"`
	Url                 string         `toml:"url"`
	MixcloudUrl         string         `toml:"mixcloudUrl"`
	TimeslotDescription string         `toml:"timeslotDescription"`
	CalendarDescription string         `toml:"calendarDescription"`
}

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.

type TimeslotTemplateData

type TimeslotTemplateData struct {
	Timeslot myradio.Timeslot
	Config   Config
}

Jump to

Keyboard shortcuts

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