Documentation ¶
Index ¶
- func SetAuthToken(token string) optionFunc
- func SetBaseURL(baseURL string) optionFunc
- func SetHttpClient(httpClient *http.Client) optionFunc
- func SetUserAgent(ua string) optionFunc
- type Client
- type Error
- type ErrorResponse
- type EventResponse
- type EventsParams
- type EventsResponse
- type EventsService
- type VenueResponse
- type VenuesResponse
- type VenuesService
- type VersionService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAuthToken ¶
func SetAuthToken(token string) optionFunc
SetAuthToken is a client option for setting the auth token used accessing Org Manager
func SetBaseURL ¶
func SetBaseURL(baseURL string) optionFunc
SetBaseURL is a client option for setting the base url
func SetHttpClient ¶
SetHttpClient is a client option for setting the *http.Client
func SetUserAgent ¶
func SetUserAgent(ua string) optionFunc
SetUserAgent is a client option for setting the user agent.
Types ¶
type Client ¶
type Client struct { // the services this client can work with Version *VersionService Events *EventsService Venues *VenuesService // contains filtered or unexported fields }
type Error ¶
type Error struct { Details []string Response *ErrorResponse }
type ErrorResponse ¶
An ErrorResponse reports the error caused by an API request
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
type EventResponse ¶
type EventsParams ¶
type EventsParams struct {
Tags []string `url:"tags,omitempty"`
}
type EventsResponse ¶
type EventsService ¶
type EventsService service
EventsService queries the events of the II API.
func (*EventsService) CurrentVerified ¶
func (v *EventsService) CurrentVerified(tags ...string) ([]infinite.Event, error)
type VenueResponse ¶
type VenuesResponse ¶
Click to show internal directories.
Click to hide internal directories.