Documentation ¶
Index ¶
- Variables
- func SetDbFlag(d map[string]bool)
- type CliResponseWriter
- func (cli *CliResponseWriter) DumpWhere()
- func (cli *CliResponseWriter) Flush()
- func (cli *CliResponseWriter) GetBody() string
- func (cli *CliResponseWriter) Header() (hdr http.Header)
- func (cli *CliResponseWriter) ServeHTTP(www http.ResponseWriter, req *http.Request)
- func (cli *CliResponseWriter) Write(p []byte) (n int, err error)
- func (cli *CliResponseWriter) WriteHeader(status int)
Constants ¶
This section is empty.
Variables ¶
View Source
var DbFlag map[string]bool
Functions ¶
Types ¶
type CliResponseWriter ¶
type CliResponseWriter struct {
// contains filtered or unexported fields
}
func NewTestResonseWriter ¶
func NewTestResonseWriter() *CliResponseWriter
func (*CliResponseWriter) DumpWhere ¶
func (cli *CliResponseWriter) DumpWhere()
func (*CliResponseWriter) GetBody ¶
func (cli *CliResponseWriter) GetBody() string
func (*CliResponseWriter) Header ¶
func (cli *CliResponseWriter) Header() (hdr http.Header)
func (*CliResponseWriter) ServeHTTP ¶
func (cli *CliResponseWriter) ServeHTTP(www http.ResponseWriter, req *http.Request)
func (*CliResponseWriter) Write ¶
func (cli *CliResponseWriter) Write(p []byte) (n int, err error)
type Writer interface { Write(p []byte) (n int, err error) }
func (*CliResponseWriter) WriteHeader ¶
func (cli *CliResponseWriter) WriteHeader(status int)
Click to show internal directories.
Click to hide internal directories.