Documentation ¶
Index ¶
- type Hook
- type Router
- type Server
- type Stream
- func (s *Stream) BinParam(param interface{}) error
- func (s *Stream) GetHttpHeader(key string) string
- func (s *Stream) GetReader() *http.Request
- func (s *Stream) GetTrade(key string) interface{}
- func (s *Stream) GetWrite() http.ResponseWriter
- func (s *Stream) Log(info string)
- func (s *Stream) RspJson(code int, data interface{})
- func (s *Stream) SetTrade(key string, i interface{})
- func (s *Stream) Write(bs []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ShowRouter ¶
func (www *Server) ShowRouter()
type Stream ¶
type Stream struct { SaveLog func(ls []string) // contains filtered or unexported fields }
func (*Stream) GetHttpHeader ¶
func (*Stream) GetWrite ¶
func (s *Stream) GetWrite() http.ResponseWriter
Click to show internal directories.
Click to hide internal directories.