Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a babbage client
type Description ¶
type Description struct {
Title string `json:"title"`
}
type ErrInvalidBabbageResponse ¶
type ErrInvalidBabbageResponse struct {
// contains filtered or unexported fields
}
ErrInvalidBabbageResponse is returned when the babbage service does not respond with a status 200
func (ErrInvalidBabbageResponse) Code ¶
func (e ErrInvalidBabbageResponse) Code() int
Code returns the status code received from babbage if an error is returned
func (ErrInvalidBabbageResponse) Error ¶
func (e ErrInvalidBabbageResponse) Error() string
Error should be called by the user to print out the stringified version of the error
type Result ¶
type Result struct { Description Description `json:"description"` URI string `json:"uri"` Type string `json:"type"` }
type TopicsResult ¶
type TopicsResult struct {
Topics Topic `json:"topics"`
}
Click to show internal directories.
Click to hide internal directories.