Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaTypes ¶
type AreaTypes struct {
// contains filtered or unexported fields
}
AreaTypes handles requests to /area-types
func NewAreaTypes ¶
func NewAreaTypes(r responder, c cantabularClient) *AreaTypes
NewAreaTypes returns a new AreaTypes handler
type Areas ¶
type Areas struct {
// contains filtered or unexported fields
}
Areas handles requests to /area-types
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is the packages error type
func (Error) LogData ¶
LogData satisfies the dataLogger interface which is used to recover log data from an error
func (Error) Message ¶
Message satisfies the messager interface which is used to specify a response to be sent to the caller in place of the error text for a given error. This is useful when you don't want sensitive information or implementation details being exposed to the caller which could be used to find exploits in our API
type Hello ¶
type Hello struct {
// contains filtered or unexported fields
}
Hello handles requests to /hello
func NewHello ¶
func NewHello(r responder, c cantabularClient) *Hello
NewHello returns a new Hello handler
Click to show internal directories.
Click to hide internal directories.