legistar

package
v0.0.0-...-726ee8c Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CalendarChange

type CalendarChange struct {
	OldEntry *CalendarEntry
	NewEntry *CalendarEntry
}

func (*CalendarChange) Load

func (change *CalendarChange) Load(p []datastore.Property) error

func (*CalendarChange) Save

func (change *CalendarChange) Save() ([]datastore.Property, error)

type CalendarEntry

type CalendarEntry struct {
	UUID      string
	Committee Committee
	Time      time.Time // absolute time of meeting
	LocalTime time.Time // date+time of event (for display only - other fields are zeroed)
	Location  string
	Agenda    string // optional
	Minutes   string // optional
}

func (*CalendarEntry) IsDifferent

func (oldMeeting *CalendarEntry) IsDifferent(newMeeting *CalendarEntry) bool

func (*CalendarEntry) ShortString

func (entry *CalendarEntry) ShortString() string

type CalendarQuery

type CalendarQuery struct {
	BaseUrl      string
	TimeLocation *time.Location
}

type CalendarQueryResult

type CalendarQueryResult struct {
	Committees      map[string]Committee
	CalendarEntries map[string]CalendarEntry
}

func LoadCalendarEntries

func LoadCalendarEntries(params *CalendarQuery, client *http.Client) *CalendarQueryResult

type Committee

type Committee struct {
	UUID string
	Name string
	URL  string
}

Jump to

Keyboard shortcuts

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