Documentation ¶
Index ¶
- type Array
- type Files
- type Json
- func (j Json) Array(path ...interface{}) Array
- func (j Json) Bytes() []byte
- func (j Json) Empty(key string) bool
- func (j Json) Get(path ...interface{}) Value
- func (j Json) Has(key string) bool
- func (j Json) Iter() jsoniter.Any
- func (j Json) Path(path ...interface{}) jsoniter.Any
- func (j Json) Reset(data interface{}) jsoniter.Any
- func (j Json) String() string
- type JsonFormat
- type Store
- func (store Store) Add(key string, value string)
- func (store Store) AllValues() [][]string
- func (store Store) Empty(key string) bool
- func (store Store) Get(key string) Value
- func (store Store) GetAll(key string) []string
- func (store Store) Has(key string) bool
- func (store Store) Keys() []string
- func (store Store) Remove(key string)
- func (store Store) String() string
- func (store Store) Values() []string
- type Stream
- func (stream *Stream) AutoGet(key string) Value
- func (stream *Stream) AutoParse()
- func (stream *Stream) ClientIP() string
- func (stream *Stream) End(data interface{}) exception.Error
- func (stream *Stream) EndBytes(data []byte) exception.Error
- func (stream *Stream) EndFile(fileName string, content interface{}) exception.Error
- func (stream *Stream) EndJson(data interface{}) exception.Error
- func (stream *Stream) EndString(data string) exception.Error
- func (stream *Stream) Forward(fn func(stream *Stream) exception.Error) exception.Error
- func (stream *Stream) Host() string
- func (stream *Stream) JsonFormat(status string, code int, msg interface{}) exception.Error
- func (stream *Stream) ParseFiles() Files
- func (stream *Stream) ParseForm() Store
- func (stream *Stream) ParseJson() Json
- func (stream *Stream) ParseMultipart() Store
- func (stream *Stream) ParseQuery() Store
- func (stream *Stream) Scheme() string
- func (stream *Stream) SetHeader(header string, content string)
- func (stream *Stream) SetMaxMemory(maxMemory int64)
- func (stream *Stream) String() string
- func (stream *Stream) Url() string
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonFormat ¶
type Stream ¶
type Stream struct { // Server *Server Response http.ResponseWriter Request *http.Request Params lemo.Params Context lemo.Context Query Store Form Store Json Json Files Files // contains filtered or unexported fields }
func (*Stream) JsonFormat ¶
func (*Stream) ParseFiles ¶
func (*Stream) ParseMultipart ¶
func (*Stream) ParseQuery ¶
func (*Stream) SetMaxMemory ¶
Click to show internal directories.
Click to hide internal directories.