Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownOperation = errors.New("Unknown http operation")
)
Functions ¶
This section is empty.
Types ¶
type HTMLRespond ¶
func (*HTMLRespond) WriteRespond ¶
func (self *HTMLRespond) WriteRespond(ses *httpSession) error
type MessageRespond ¶
func (*MessageRespond) String ¶
func (self *MessageRespond) String() string
func (*MessageRespond) WriteRespond ¶
func (self *MessageRespond) WriteRespond(ses *httpSession) error
type RequestMatcher ¶
type RespondProc ¶
type RespondProc interface {
WriteRespond(*httpSession) error
}
type StatusRespond ¶
type StatusRespond struct {
StatusCode int
}
func (*StatusRespond) WriteRespond ¶
func (self *StatusRespond) WriteRespond(ses *httpSession) error
type TextRespond ¶
func (*TextRespond) WriteRespond ¶
func (self *TextRespond) WriteRespond(ses *httpSession) error
Click to show internal directories.
Click to hide internal directories.