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