Documentation
¶
Index ¶
- func EventsIdDocumentsIdGet(c *backend.Client, ctx context.Context, bearer string, eventId string, ...) (d time.Duration, err error)
- func EventsIdGet(c *backend.Client, ctx context.Context, id string, p backend.GetEventsIdParams, ...) (d time.Duration, err error)
- func EventsPost(c *backend.Client, ctx context.Context, bearer string, ...) (d time.Duration, err error)
- func ResetPost(c *backend.Client, ctx context.Context) (d time.Duration, err error)
- func TestEndpoints(c *backend.Client) error
- func UsersIdGet(c *backend.Client, ctx context.Context, id string, bearer string, ...) (d time.Duration, err error)
- func UsersIdStarPost(c *backend.Client, ctx context.Context, userId string, wantedStatusCode int) (d time.Duration, err error)
- func UsersSignInPost(c *backend.Client, ctx context.Context, b backend.LoginBody, ...) (d time.Duration, token string, err error)
- type Event
- type EventDatetime
- type EventDocument
- type EventEmbed
- type Id
- type Log
- type Result
- type StarCount
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventsIdDocumentsIdGet ¶
func EventsIdGet ¶
func EventsPost ¶
func TestEndpoints ¶
func UsersIdGet ¶
func UsersIdStarPost ¶
Types ¶
type Event ¶
type Event struct {
Id Id `json:"id"`
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Location *string `json:"location,omitempty"`
Datetimes []EventDatetime `json:"datetimes"`
Published bool `json:"published"`
Completed bool `json:"completed"`
UserId Id `json:"user_id"`
}
type EventDatetime ¶
type EventDocument ¶
type EventDocument struct {
EventId Id `json:"event_id"`
Id Id `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
}
func EventsIdDocumentsGet ¶
type EventEmbed ¶
type EventEmbed struct {
Event
User User `json:"user"`
Documents []EventDocument `json:"documents"`
}
type Result ¶
type User ¶
type User struct {
Id Id `json:"id"`
Name string `json:"name"`
PostEventAvailabled bool `json:"post_event_availabled"`
Manage bool `json:"manage"`
Admin bool `json:"admin"`
TwitterId *string `json:"twitter_id,omitempty"`
GithubUsername *string `json:"github_username,omitempty"`
StarCount uint64 `json:"star_count"`
}
Click to show internal directories.
Click to hide internal directories.