Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTMLResponse ¶
type HTMLResponse struct {
HTML string
}
HTMLResponse is the message replied by server.
type MarkdownRequest ¶
type MarkdownRequest struct {
Text string `json:"text"`
}
MarkdownRequest is the message sent by client. Reply HTMLResponse.
func (*MarkdownRequest) Handle ¶
func (msg *MarkdownRequest) Handle(stream as.ContextStream) (reply interface{})
Handle handles msg.
Click to show internal directories.
Click to hide internal directories.