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 }
Click to show internal directories.
Click to hide internal directories.