Documentation
¶
Index ¶
- func WriteBadGatewayJSON(rw http.ResponseWriter, message string)
- func WriteBadGatewayText(rw http.ResponseWriter, message string)
- func WriteBadRequestJSON(rw http.ResponseWriter, message string)
- func WriteBadRequestText(rw http.ResponseWriter, message string)
- func WriteJSONError(rw http.ResponseWriter, code int, message string)
- func WriteJSONResponse(rw http.ResponseWriter, code int, response interface{})
- func WriteResult(rw http.ResponseWriter, code int, result string)
- func WriteTextError(rw http.ResponseWriter, code int, message string)
- type AgentConfig
- type Error
- type ListSessionsItem
- type PairedSession
- type Result
- type Session
- type URLResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteBadGatewayJSON ¶
func WriteBadGatewayJSON(rw http.ResponseWriter, message string)
func WriteBadGatewayText ¶
func WriteBadGatewayText(rw http.ResponseWriter, message string)
func WriteBadRequestJSON ¶
func WriteBadRequestJSON(rw http.ResponseWriter, message string)
func WriteBadRequestText ¶
func WriteBadRequestText(rw http.ResponseWriter, message string)
func WriteJSONError ¶
func WriteJSONError(rw http.ResponseWriter, code int, message string)
func WriteJSONResponse ¶ added in v0.0.5
func WriteJSONResponse(rw http.ResponseWriter, code int, response interface{})
func WriteResult ¶
func WriteResult(rw http.ResponseWriter, code int, result string)
func WriteTextError ¶
func WriteTextError(rw http.ResponseWriter, code int, message string)
Types ¶
type AgentConfig ¶
type ListSessionsItem ¶ added in v0.0.5
type PairedSession ¶ added in v0.0.6
type URLResponse ¶
type URLResponse struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.