api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: CC0-1.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEventHandler

func CreateEventHandler(c *gin.Context)

func QueryEvent

func QueryEvent(c *gin.Context)

func QueryHandler

func QueryHandler(c *gin.Context)

Types

type EventData

type EventData struct {
	OrganizerId int             `json:"organizer_id"`
	SpaceId     *int            `json:"space_id"`
	Title       *string         `json:"title"`
	Subtitle    *string         `json:"subtitle"`
	Description *string         `json:"description"`
	Teaser      *string         `json:"teaser"`
	ImageURL    *string         `json:"image_url,omitempty"`
	EventTypes  []int           `json:"event_types"`
	GenreTypes  []int           `json:"genre_types"`
	EventDates  []EventDateData `json:"event_dates"`
}

type EventDateData

type EventDateData struct {
	Start              *time.Time `json:"start"`
	End                *time.Time `json:"end"`
	AccessibilityFlags []int      `json:"accessibility_flags"`
	VisitorInfoFlags   []int      `json:"visitor_info_flags"`
	SpaceId            *int       `json:"space_id"`
	EntryTime          *string    `json:"entry_time"`
}

Jump to

Keyboard shortcuts

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