Documentation
¶
Overview ¶
Package message is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Series Event Venue Location Track Activity Group Person Sponsor Sponsorship Vendor Vending
Index ¶
- Variables
- type Activity
- func (m *Activity) GetAttendees() []*Person
- func (m *Activity) GetBegins() *google_protobuf.Timestamp
- func (m *Activity) GetEnds() *google_protobuf.Timestamp
- func (m *Activity) GetEvent() *Event
- func (m *Activity) GetLocation() *Location
- func (m *Activity) GetPresenters() []*Person
- func (m *Activity) GetTrack() *Track
- func (*Activity) ProtoMessage()
- func (m *Activity) Reset()
- func (m *Activity) String() string
- type Activity_Type
- type Event
- func (m *Event) GetActivities() []*Activity
- func (m *Event) GetAttendees() []*Person
- func (m *Event) GetBegins() *google_protobuf.Timestamp
- func (m *Event) GetEnds() *google_protobuf.Timestamp
- func (m *Event) GetOrganizers() []*Person
- func (m *Event) GetSponsors() []*Sponsorship
- func (m *Event) GetTracks() []*Track
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type Group
- type Location
- type Person
- type Series
- type Sponsor
- type Sponsorship
- type Sponsorship_Level
- type Track
- type Vending
- func (m *Vending) GetBegins() *google_protobuf.Timestamp
- func (m *Vending) GetEnds() *google_protobuf.Timestamp
- func (m *Vending) GetEvent() *Event
- func (m *Vending) GetLocation() *Location
- func (m *Vending) GetVendor() *Vendor
- func (*Vending) ProtoMessage()
- func (m *Vending) Reset()
- func (m *Vending) String() string
- type Vendor
- type Venue
Constants ¶
This section is empty.
Variables ¶
View Source
var Activity_Type_name = map[int32]string{
0: "TALK",
1: "CLASS",
2: "SOCIAL",
3: "HACK",
}
View Source
var Activity_Type_value = map[string]int32{
"TALK": 0,
"CLASS": 1,
"SOCIAL": 2,
"HACK": 3,
}
View Source
var Sponsorship_Level_name = map[int32]string{
0: "BRONZE",
1: "SILVER",
2: "GOLD",
3: "PLATINUM",
}
View Source
var Sponsorship_Level_value = map[string]int32{
"BRONZE": 0,
"SILVER": 1,
"GOLD": 2,
"PLATINUM": 3,
}
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Event *Event `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"` Track *Track `protobuf:"bytes,4,opt,name=track" json:"track,omitempty"` Begins *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=begins" json:"begins,omitempty"` Ends *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=ends" json:"ends,omitempty"` Location *Location `protobuf:"bytes,7,opt,name=location" json:"location,omitempty"` Presenters []*Person `protobuf:"bytes,8,rep,name=presenters" json:"presenters,omitempty"` Attendees []*Person `protobuf:"bytes,9,rep,name=attendees" json:"attendees,omitempty"` }
func (*Activity) GetAttendees ¶
func (*Activity) GetBegins ¶
func (m *Activity) GetBegins() *google_protobuf.Timestamp
func (*Activity) GetEnds ¶
func (m *Activity) GetEnds() *google_protobuf.Timestamp
func (*Activity) GetLocation ¶
func (*Activity) GetPresenters ¶
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
type Activity_Type ¶
type Activity_Type int32
const ( Activity_TALK Activity_Type = 0 Activity_CLASS Activity_Type = 1 Activity_SOCIAL Activity_Type = 2 Activity_HACK Activity_Type = 3 )
func (Activity_Type) String ¶
func (x Activity_Type) String() string
type Event ¶
type Event struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Begins *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=begins" json:"begins,omitempty"` Ends *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=ends" json:"ends,omitempty"` Activities []*Activity `protobuf:"bytes,5,rep,name=activities" json:"activities,omitempty"` Tracks []*Track `protobuf:"bytes,6,rep,name=tracks" json:"tracks,omitempty"` Organizers []*Person `protobuf:"bytes,7,rep,name=organizers" json:"organizers,omitempty"` Attendees []*Person `protobuf:"bytes,8,rep,name=attendees" json:"attendees,omitempty"` Sponsors []*Sponsorship `protobuf:"bytes,9,rep,name=sponsors" json:"sponsors,omitempty"` }
func (*Event) GetActivities ¶
func (*Event) GetAttendees ¶
func (*Event) GetBegins ¶
func (m *Event) GetBegins() *google_protobuf.Timestamp
func (*Event) GetEnds ¶
func (m *Event) GetEnds() *google_protobuf.Timestamp
func (*Event) GetOrganizers ¶
func (*Event) GetSponsors ¶
func (m *Event) GetSponsors() []*Sponsorship
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Group ¶
type Group struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Event *Event `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"` Administrators []*Person `protobuf:"bytes,4,rep,name=administrators" json:"administrators,omitempty"` Members []*Person `protobuf:"bytes,5,rep,name=members" json:"members,omitempty"` }
func (*Group) GetAdministrators ¶
func (*Group) GetMembers ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
type Location ¶
type Location struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Capacity int32 `protobuf:"varint,3,opt,name=capacity" json:"capacity,omitempty"` Address string `protobuf:"bytes,5,opt,name=address" json:"address,omitempty"` Venue *Venue `protobuf:"bytes,6,opt,name=venue" json:"venue,omitempty"` }
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
type Person ¶
type Person struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Fname string `protobuf:"bytes,2,opt,name=fname" json:"fname,omitempty"` Lname string `protobuf:"bytes,3,opt,name=lname" json:"lname,omitempty"` Email string `protobuf:"bytes,4,opt,name=email" json:"email,omitempty"` Attending []*Activity `protobuf:"bytes,5,rep,name=attending" json:"attending,omitempty"` SpeakingAt []*Activity `protobuf:"bytes,7,rep,name=speakingAt" json:"speakingAt,omitempty"` Groups []*Group `protobuf:"bytes,8,rep,name=groups" json:"groups,omitempty"` Following []*Series `protobuf:"bytes,9,rep,name=following" json:"following,omitempty"` }
func (*Person) GetAttending ¶
func (*Person) GetFollowing ¶
func (*Person) GetSpeakingAt ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
type Series ¶
type Series struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Events []*Event `protobuf:"bytes,3,rep,name=events" json:"events,omitempty"` }
func (*Series) ProtoMessage ¶
func (*Series) ProtoMessage()
type Sponsor ¶
type Sponsor struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` MarketingContacts []*Person `protobuf:"bytes,3,rep,name=marketingContacts" json:"marketingContacts,omitempty"` TechnicalContacts []*Person `protobuf:"bytes,4,rep,name=technicalContacts" json:"technicalContacts,omitempty"` Sponsorships []*Sponsorship `protobuf:"bytes,5,rep,name=sponsorships" json:"sponsorships,omitempty"` }
func (*Sponsor) GetMarketingContacts ¶
func (*Sponsor) GetSponsorships ¶
func (m *Sponsor) GetSponsorships() []*Sponsorship
func (*Sponsor) GetTechnicalContacts ¶
func (*Sponsor) ProtoMessage ¶
func (*Sponsor) ProtoMessage()
type Sponsorship ¶
type Sponsorship struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Event *Event `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"` Sponsor *Sponsor `protobuf:"bytes,3,opt,name=sponsor" json:"sponsor,omitempty"` Level Sponsorship_Level `protobuf:"varint,4,opt,name=level,enum=Sponsorship_Level" json:"level,omitempty"` }
func (*Sponsorship) GetEvent ¶
func (m *Sponsorship) GetEvent() *Event
func (*Sponsorship) GetSponsor ¶
func (m *Sponsorship) GetSponsor() *Sponsor
func (*Sponsorship) ProtoMessage ¶
func (*Sponsorship) ProtoMessage()
func (*Sponsorship) Reset ¶
func (m *Sponsorship) Reset()
func (*Sponsorship) String ¶
func (m *Sponsorship) String() string
type Sponsorship_Level ¶
type Sponsorship_Level int32
const ( Sponsorship_BRONZE Sponsorship_Level = 0 Sponsorship_SILVER Sponsorship_Level = 1 Sponsorship_GOLD Sponsorship_Level = 2 Sponsorship_PLATINUM Sponsorship_Level = 3 )
func (Sponsorship_Level) String ¶
func (x Sponsorship_Level) String() string
type Track ¶
type Track struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Event *Event `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"` Activities []*Activity `protobuf:"bytes,4,rep,name=activities" json:"activities,omitempty"` }
func (*Track) GetActivities ¶
func (*Track) ProtoMessage ¶
func (*Track) ProtoMessage()
type Vending ¶
type Vending struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Event *Event `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"` Vendor *Vendor `protobuf:"bytes,3,opt,name=vendor" json:"vendor,omitempty"` Location *Location `protobuf:"bytes,4,opt,name=location" json:"location,omitempty"` Begins *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=begins" json:"begins,omitempty"` Ends *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=ends" json:"ends,omitempty"` }
func (*Vending) GetBegins ¶
func (m *Vending) GetBegins() *google_protobuf.Timestamp
func (*Vending) GetEnds ¶
func (m *Vending) GetEnds() *google_protobuf.Timestamp
func (*Vending) GetLocation ¶
func (*Vending) ProtoMessage ¶
func (*Vending) ProtoMessage()
type Vendor ¶
type Vendor struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Contacts []*Person `protobuf:"bytes,3,rep,name=contacts" json:"contacts,omitempty"` Appearances []*Vending `protobuf:"bytes,4,rep,name=appearances" json:"appearances,omitempty"` }
func (*Vendor) GetAppearances ¶
func (*Vendor) GetContacts ¶
func (*Vendor) ProtoMessage ¶
func (*Vendor) ProtoMessage()
type Venue ¶
type Venue struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` PhoneNumber string `protobuf:"bytes,4,opt,name=phoneNumber" json:"phoneNumber,omitempty"` Email string `protobuf:"bytes,5,opt,name=email" json:"email,omitempty"` Locations []*Location `protobuf:"bytes,6,rep,name=locations" json:"locations,omitempty"` Events []*Event `protobuf:"bytes,7,rep,name=events" json:"events,omitempty"` }
func (*Venue) GetLocations ¶
func (*Venue) ProtoMessage ¶
func (*Venue) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.