Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecRequestPayload ¶
type ExecResponsePayload ¶
type ExecResponsePayload struct {
OutputFragment string `json:"fragment"`
}
type Router ¶
func (*Router) RequestError ¶
func (r *Router) RequestError(w http.ResponseWriter, err error)
func (*Router) ServerError ¶
func (r *Router) ServerError(w http.ResponseWriter, err error)
type TemplateCache ¶
func NewTemplateCache ¶
func NewTemplateCache() (TemplateCache, error)
type UnparsedCommand ¶
type UnparsedCommand struct {
Command string `json:"command"`
Payload json.RawMessage `json:"payload"`
}
type ViewRequestPayload ¶
type ViewResponsePayload ¶
type ViewResponsePayload struct {
ReplacedScript string `json:"script"`
}
Click to show internal directories.
Click to hide internal directories.