dreamkast

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ListConferences(ctx context.Context) (ListConferencesResp, error)
}

func NewClient

func NewClient(dkEndpointUrl string) (Client, error)

type ClientImpl

type ClientImpl struct {
	// contains filtered or unexported fields
}

func (*ClientImpl) ListConferences

func (c *ClientImpl) ListConferences(ctx context.Context) (ListConferencesResp, error)

type ConferenceDay

type ConferenceDay struct {
	ID       int    `json:"id"`
	Date     string `json:"date"`
	Internal bool   `json:"internal"`
}

type GetConferenceResp

type GetConferenceResp struct {
	ID                      int             `json:"id"`
	Name                    string          `json:"name"`
	Abbr                    string          `json:"abbr"`
	Status                  string          `json:"status"`
	Theme                   string          `json:"theme"`
	About                   string          `json:"about"`
	PrivacyPolicy           string          `json:"privacy_policy"`
	PrivacyPolicyForSpeaker string          `json:"privacy_policy_for_speaker"`
	Copyright               string          `json:"copyright"`
	Coc                     string          `json:"coc"`
	ConferenceDays          []ConferenceDay `json:"conferenceDays"`
}

type ListConferencesResp

type ListConferencesResp []GetConferenceResp

Jump to

Keyboard shortcuts

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