Documentation ¶
Index ¶
- Constants
- func ErrBadRequest(err error) render.Renderer
- func ErrInternal(err error) render.Renderer
- func ErrNotFound(err error) render.Renderer
- func ErrUnauthorized(msg string) render.Renderer
- type RemoteJoinResponse
- type RemoteJoinResponsePayload
- type RenderFunc
- type Response
- type StoreGetRequest
- type StoreKeysRequest
- type StoreKeysResponse
- type StoreSetRequest
- type StoreSetResponse
Constants ¶
View Source
const ( // ConnTLSUserKey is the key used to reference the Disco user extracted from // the client TLS certificate and stored in the HTTP request context. ConnTLSUserKey = "connTLSUser" )
Variables ¶
This section is empty.
Functions ¶
func ErrBadRequest ¶
func ErrInternal ¶
func ErrNotFound ¶
func ErrUnauthorized ¶
Types ¶
type RemoteJoinResponse ¶
type RenderFunc ¶
type RenderFunc func(w http.ResponseWriter, r *http.Request) error
type Response ¶
type StoreGetRequest ¶
type StoreKeysRequest ¶
type StoreKeysResponse ¶
type StoreSetRequest ¶
type StoreSetResponse ¶
type StoreSetResponse struct {
*Response
}
Click to show internal directories.
Click to hide internal directories.