Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FieldTypeLongText is a type of a field of an event FieldTypeLongText string = "long_text" // FieldTypeShortText is a type of a field of an event FieldTypeShortText string = "short_text" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateClub ¶
CreateClub : defines a request to create a new club
type CreateEvent ¶
type CreateEvent struct { Name string `json:"name"` EventID string `json:"event_id"` Description string `json:"description"` Fields []FieldProps `json:"fields"` }
CreateEvent defines a request to create an event
type CreatePeriod ¶
type CreatePeriod struct { Name string `json:"name"` Start string `json:"start"` End string `json:"end"` }
CreatePeriod : defines a request to create an period
type FieldProps ¶
type FieldProps struct { Type string `json:"type"` // Properties is one of LongText or ShortText in protobuf Properties json.RawMessage `json:"properties"` }
FieldProps defines a field of an event
Click to show internal directories.
Click to hide internal directories.