_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c8800
// Debugf implementes Logger interface
c8801
// Debug implementes Logger interface
c8802
// Info implementes Logger interface
c8803
// Warn implementes Logger interface
c8804
// Error implementes Logger interface
c8805
// NewLogger use the default logger with special writer
c8806
// Logging returns handler to log informations
c8807
// Values returns http.Request values
c8808
// Query returns request form as string with default
c8809
// QueryStrings returns request form as strings with default
c8810
// QueryEscape returns request form as escaped string with default
c8811
// QueryInt returns request form as int with default
c8812
// QueryInt32 returns request form as int32 with default
c8813
// QueryInt64 returns request form as int64 with default
c8814
// QueryUint returns request form as uint with default
c8815
// QueryUint32 returns request form as uint32 with default
c8816
// QueryUint64 returns request form as uint64 with default
c8817
// QueryFloat32 returns request form as float32 with default
c8818
// Get sets a route with GET method
c8819
// Any sets a route every support method is OK.
c8820
// Use addes some global handlers
c8821
// GetAddress parses address
c8822
// RunTLS runs the https server with special cert and key files
c8823
// WrapBefore wraps a http standard handler to tango's before action executes
c8824
// UseHandler adds a standard http handler to tango's
c8825
// NewWithLog creates tango with the special logger and handlers
c8826
// Classic returns the tango with default handlers and logger
c8827
// File returns a handle to serve a file
c8828
// Dir returns a handle to serve a directory
c8829
// Strings returns request form as strings
c8830
// Form returns request form as string with default
c8831
// FormStrings returns request form as strings with default
c8832
// FormEscape returns request form as escaped string with default
c8833
// FormInt returns request form as int with default
c8834
// FormInt32 returns request form as int32 with default
c8835
// FormInt64 returns request form as int64 with default
c8836
// FormUint returns request form as uint with default
c8837
// FormUint32 returns request form as uint32 with default
c8838
// FormUint64 returns request form as uint64 with default
c8839
// FormFloat32 returns request form as float32 with default
c8840
// SecureCookies generates a secret cookie
c8841
// IP returns remote IP
c8842
// WriteString writes a string to response write
c8843
// ServeFile serves a file
c8844
// ServeContent serve content
c8845
// ServeXML serves marshaled XML content from obj
c8846
// ServeJSON serves marshaled JSON content from obj
c8847
// Body returns body's content
c8848
// DecodeJSON decodes body as JSON format to obj
c8849
// DecodeXML decodes body as XML format to obj
c8850
// Download provides a locale file to http client
c8851
// SaveToFile saves the HTTP post file form to local file path
c8852
// Redirect redirects the request to another URL
c8853
// Unauthorized writes a 401 HTTP response
c8854
// NotFound writes a 404 HTTP response
c8855
// Contexts returns a middleware to inject Context to action struct
c8856
// Abort returns an AbortError
c8857
// Errors returns default errorhandler, you can use your self handler
c8858
// IsFilterExt decribes if rPath's ext match filter ext
c8859
// NewRoute returns a route
c8860
// IsStruct returns if the execute is a struct
c8861
// static route will be put the first, so it will be match first. // two static route, content longer is first.
c8862
// newRouter return a new router
c8863
// Match for request url, match router
c8864
// validNodes validates parsed nodes, all non-static route should have static route children.
c8865
// addnodes adds nodes to trees
c8866
// Route adds route
c8867
// Compresses defines a middleware to compress HTTP response
c8868
// Recovery returns a middleware which catch panics and log them
c8869
// Get returns request form as string
c8870
// Strings returns request form as slice of string
c8871
// MustString returns request form as slice of string with default
c8872
// MustStrings returns request form as slice of string with default
c8873
// Param returns request form as string with default
c8874
// ParamStrings returns request form as slice of string with default
c8875
// ParamEscape returns request form as escaped string with default
c8876
// ParamInt returns request form as int with default
c8877
// ParamInt32 returns request form as int32 with default
c8878
// ParamInt64 returns request form as int64 with default
c8879
// ParamUint returns request form as uint with default
c8880
// ParamUint32 returns request form as uint32 with default
c8881
// ParamUint64 returns request form as uint64 with default
c8882
// ParamFloat32 returns request form as float32 with default
c8883
// ParamFloat64 returns request form as float64 with default
c8884
// ParamBool returns request form as bool with default
c8885
// Param returns params handle to operate param
c8886
// Use set the middlewares to apply to this group's routes
c8887
// Get addes a GET route to this group
c8888
// Any addes the default mehtods route to this group
c8889
// Route defines a customerize route to this group
c8890
// Group defines group's child group
c8891
// Group adds routines groups
c8892
// MigrateTo executes all migrations that did not run yet up to the migration that matches `migrationID`.
c8893
// There are migrations to apply if either there's a defined // initSchema function or if the list of migrations is not empty.
c8894
// Check whether any migration is using a reserved ID. // For now there's only have one reserved ID, but there may be more in the future.
c8895
// RollbackTo undoes migrations up to the given migration that matches the `migrationID`. // Migration with the matching `migrationID` is not rolled back.
c8896
// The schema can be initialised only if it hasn't been initialised yet // and no other migration has been applied already.
c8897
// One calls OneFunc.
c8898
// Three calls ThreeFunc.
c8899
// Two calls TwoFunc.