SYMBOL INDEX (2214 symbols across 266 files) FILE: app/console/kernel.go function RunCommand (line 11) | func RunCommand(container framework.Container) error { function AddAppCommand (line 41) | func AddAppCommand(rootCmd *cobra.Command) { FILE: app/http/kernel.go function NewHttpEngine (line 9) | func NewHttpEngine(container framework.Container) (*gin.Engine, error) { FILE: app/http/middleware/cors/config.go type cors (line 10) | type cors struct method applyCors (line 62) | func (cors *cors) applyCors(c *gin.Context) { method validateWildcardOrigin (line 93) | func (cors *cors) validateWildcardOrigin(origin string) bool { method validateOrigin (line 109) | func (cors *cors) validateOrigin(origin string) bool { method handlePreflight (line 127) | func (cors *cors) handlePreflight(c *gin.Context) { method handleNormal (line 134) | func (cors *cors) handleNormal(c *gin.Context) { function newCors (line 40) | func newCors(config Config) *cors { FILE: app/http/middleware/cors/cors.go type Config (line 12) | type Config struct method AddAllowMethods (line 59) | func (c *Config) AddAllowMethods(methods ...string) { method AddAllowHeaders (line 64) | func (c *Config) AddAllowHeaders(headers ...string) { method AddExposeHeaders (line 69) | func (c *Config) AddExposeHeaders(headers ...string) { method getAllowedSchemas (line 73) | func (c Config) getAllowedSchemas() []string { method validateAllowedSchemas (line 87) | func (c Config) validateAllowedSchemas(origin string) bool { method Validate (line 98) | func (c Config) Validate() error { method parseWildcardRules (line 113) | func (c Config) parseWildcardRules() [][]string { function DefaultConfig (line 146) | func DefaultConfig() Config { function Default (line 156) | func Default() gin.HandlerFunc { function New (line 163) | func New(config Config) gin.HandlerFunc { FILE: app/http/middleware/cors/cors_test.go function init (line 14) | func init() { function newTestRouter (line 18) | func newTestRouter(config Config) *gin.Engine { function performRequest (line 33) | func performRequest(r http.Handler, method, origin string) *httptest.Res... function performRequestWithHeaders (line 37) | func performRequestWithHeaders(r http.Handler, method, origin string, he... function TestConfigAddAllow (line 53) | func TestConfigAddAllow(t *testing.T) { function TestBadConfig (line 73) | func TestBadConfig(t *testing.T) { function TestNormalize (line 94) | func TestNormalize(t *testing.T) { function TestConvert (line 108) | func TestConvert(t *testing.T) { function TestGenerateNormalHeaders_AllowAllOrigins (line 116) | func TestGenerateNormalHeaders_AllowAllOrigins(t *testing.T) { function TestGenerateNormalHeaders_AllowCredentials (line 132) | func TestGenerateNormalHeaders_AllowCredentials(t *testing.T) { function TestGenerateNormalHeaders_ExposedHeaders (line 141) | func TestGenerateNormalHeaders_ExposedHeaders(t *testing.T) { function TestGeneratePreflightHeaders (line 150) | func TestGeneratePreflightHeaders(t *testing.T) { function TestGeneratePreflightHeaders_AllowCredentials (line 166) | func TestGeneratePreflightHeaders_AllowCredentials(t *testing.T) { function TestGeneratePreflightHeaders_AllowMethods (line 175) | func TestGeneratePreflightHeaders_AllowMethods(t *testing.T) { function TestGeneratePreflightHeaders_AllowHeaders (line 184) | func TestGeneratePreflightHeaders_AllowHeaders(t *testing.T) { function TestGeneratePreflightHeaders_MaxAge (line 193) | func TestGeneratePreflightHeaders_MaxAge(t *testing.T) { function TestValidateOrigin (line 202) | func TestValidateOrigin(t *testing.T) { function TestPassesAllowOrigins (line 265) | func TestPassesAllowOrigins(t *testing.T) { function TestPassesAllowAllOrigins (line 333) | func TestPassesAllowAllOrigins(t *testing.T) { function TestWildcard (line 370) | func TestWildcard(t *testing.T) { FILE: app/http/middleware/cors/examples/example.go function main (line 10) | func main() { FILE: app/http/middleware/cors/utils.go type converter (line 10) | type converter function generateNormalHeaders (line 12) | func generateNormalHeaders(c Config) http.Header { function generatePreflightHeaders (line 29) | func generatePreflightHeaders(c Config) http.Header { function normalize (line 62) | func normalize(values []string) []string { function convert (line 79) | func convert(s []string, c converter) []string { FILE: app/http/module/demo/api.go type DemoApi (line 8) | type DemoApi struct method Demo (line 36) | func (api *DemoApi) Demo(c *gin.Context) { method Demo2 (line 47) | func (api *DemoApi) Demo2(c *gin.Context) { method DemoPost (line 54) | func (api *DemoApi) DemoPost(c *gin.Context) { function Register (line 12) | func Register(r *gin.Engine) error { function NewDemoApi (line 24) | func NewDemoApi() *DemoApi { FILE: app/http/module/demo/api_cache.go method DemoRedis (line 11) | func (api *DemoApi) DemoRedis(c *gin.Context) { method DemoCache (line 43) | func (api *DemoApi) DemoCache(c *gin.Context) { FILE: app/http/module/demo/api_orm.go method DemoOrm (line 12) | func (api *DemoApi) DemoOrm(c *gin.Context) { FILE: app/http/module/demo/dto.go type UserDTO (line 3) | type UserDTO struct FILE: app/http/module/demo/mapper.go function UserModelsToUserDTOs (line 7) | func UserModelsToUserDTOs(models []UserModel) []UserDTO { function StudentsToUserDTOs (line 19) | func StudentsToUserDTOs(students []demoService.Student) []UserDTO { FILE: app/http/module/demo/model.go type UserModel (line 8) | type UserModel struct type User (line 15) | type User struct FILE: app/http/module/demo/repository.go type Repository (line 3) | type Repository struct method GetUserIds (line 10) | func (r *Repository) GetUserIds() []int { method GetUserByIds (line 14) | func (r *Repository) GetUserByIds([]int) []UserModel { function NewRepository (line 6) | func NewRepository() *Repository { FILE: app/http/module/demo/service.go type Service (line 3) | type Service struct method GetUsers (line 14) | func (s *Service) GetUsers() []UserModel { function NewService (line 7) | func NewService() *Service { FILE: app/http/route.go function Routes (line 14) | func Routes(r *gin.Engine) { FILE: app/http/swagger/docs.go type swaggerInfo (line 112) | type swaggerInfo struct type s (line 131) | type s struct method ReadDoc (line 133) | func (s *s) ReadDoc() string { function init (line 162) | func init() { FILE: app/provider/demo/contract.go constant DemoKey (line 3) | DemoKey = "demo" type IService (line 5) | type IService interface type Student (line 9) | type Student struct FILE: app/provider/demo/provider.go type DemoProvider (line 7) | type DemoProvider struct method Name (line 13) | func (sp *DemoProvider) Name() string { method Register (line 17) | func (sp *DemoProvider) Register(c framework.Container) framework.NewI... method IsDefer (line 21) | func (sp *DemoProvider) IsDefer() bool { method Params (line 25) | func (sp *DemoProvider) Params(c framework.Container) []interface{} { method Boot (line 29) | func (sp *DemoProvider) Boot(c framework.Container) error { FILE: app/provider/demo/service.go type Service (line 5) | type Service struct method GetAllStudent (line 14) | func (s *Service) GetAllStudent() []Student { function NewService (line 9) | func NewService(params ...interface{}) (interface{}, error) { FILE: app/provider/user/contract.go constant UserKey (line 3) | UserKey = "user" type Service (line 5) | type Service interface FILE: app/provider/user/provider.go type UserProvider (line 7) | type UserProvider struct method Name (line 13) | func (sp *UserProvider) Name() string { method Register (line 17) | func (sp *UserProvider) Register(c framework.Container) framework.NewI... method IsDefer (line 21) | func (sp *UserProvider) IsDefer() bool { method Params (line 25) | func (sp *UserProvider) Params(c framework.Container) []interface{} { method Boot (line 29) | func (sp *UserProvider) Boot(c framework.Container) error { FILE: app/provider/user/service.go type UserService (line 5) | type UserService struct method Foo (line 14) | func (s *UserService) Foo() string { function NewUserService (line 9) | func NewUserService(params ...interface{}) (interface{}, error) { FILE: build/check-versions.js function exec (line 7) | function exec (cmd) { FILE: build/utils.js function generateLoaders (line 33) | function generateLoaders (loader, loaderOptions) { FILE: build/webpack.base.conf.js function resolve (line 7) | function resolve (dir) { FILE: build/webpack.dev.conf.js constant HOST (line 13) | const HOST = process.env.HOST constant PORT (line 14) | const PORT = process.env.PORT && Number(process.env.PORT) FILE: build/webpack.prod.conf.js method minChunks (line 88) | minChunks (module) { FILE: framework/cobra/args.go type PositionalArgs (line 8) | type PositionalArgs function legacyArgs (line 14) | func legacyArgs(cmd *Command, args []string) error { function NoArgs (line 28) | func NoArgs(cmd *Command, args []string) error { function OnlyValidArgs (line 36) | func OnlyValidArgs(cmd *Command, args []string) error { function ArbitraryArgs (line 55) | func ArbitraryArgs(cmd *Command, args []string) error { function MinimumNArgs (line 60) | func MinimumNArgs(n int) PositionalArgs { function MaximumNArgs (line 70) | func MaximumNArgs(n int) PositionalArgs { function ExactArgs (line 80) | func ExactArgs(n int) PositionalArgs { function ExactValidArgs (line 92) | func ExactValidArgs(n int) PositionalArgs { function RangeArgs (line 102) | func RangeArgs(min int, max int) PositionalArgs { FILE: framework/cobra/args_test.go function TestNoArgs (line 8) | func TestNoArgs(t *testing.T) { function TestNoArgsWithArgs (line 20) | func TestNoArgsWithArgs(t *testing.T) { function TestOnlyValidArgs (line 35) | func TestOnlyValidArgs(t *testing.T) { function TestOnlyValidArgsWithInvalidArgs (line 52) | func TestOnlyValidArgsWithInvalidArgs(t *testing.T) { function TestArbitraryArgs (line 72) | func TestArbitraryArgs(t *testing.T) { function TestMinimumNArgs (line 83) | func TestMinimumNArgs(t *testing.T) { function TestMinimumNArgsWithLessArgs (line 94) | func TestMinimumNArgsWithLessArgs(t *testing.T) { function TestMaximumNArgs (line 109) | func TestMaximumNArgs(t *testing.T) { function TestMaximumNArgsWithMoreArgs (line 120) | func TestMaximumNArgsWithMoreArgs(t *testing.T) { function TestExactArgs (line 135) | func TestExactArgs(t *testing.T) { function TestExactArgsWithInvalidCount (line 146) | func TestExactArgsWithInvalidCount(t *testing.T) { function TestExactValidArgs (line 161) | func TestExactValidArgs(t *testing.T) { function TestExactValidArgsWithInvalidCount (line 172) | func TestExactValidArgsWithInvalidCount(t *testing.T) { function TestExactValidArgsWithInvalidArgs (line 187) | func TestExactValidArgsWithInvalidArgs(t *testing.T) { function TestRangeArgs (line 207) | func TestRangeArgs(t *testing.T) { function TestRangeArgsWithInvalidCount (line 218) | func TestRangeArgsWithInvalidCount(t *testing.T) { function TestRootTakesNoArgs (line 233) | func TestRootTakesNoArgs(t *testing.T) { function TestRootTakesArgs (line 250) | func TestRootTakesArgs(t *testing.T) { function TestChildTakesNoArgs (line 261) | func TestChildTakesNoArgs(t *testing.T) { function TestChildTakesArgs (line 278) | func TestChildTakesArgs(t *testing.T) { FILE: framework/cobra/bash_completions.go constant BashCompFilenameExt (line 16) | BashCompFilenameExt = "cobra_annotation_bash_completion_filename_ext... constant BashCompCustom (line 17) | BashCompCustom = "cobra_annotation_bash_completion_custom" constant BashCompOneRequiredFlag (line 18) | BashCompOneRequiredFlag = "cobra_annotation_bash_completion_one_required... constant BashCompSubdirsInDir (line 19) | BashCompSubdirsInDir = "cobra_annotation_bash_completion_subdirs_in_dir" function writePreamble (line 22) | func writePreamble(buf io.StringWriter, name string) { function writePostscript (line 383) | func writePostscript(buf io.StringWriter, name string) { function writeCommands (line 425) | func writeCommands(buf io.StringWriter, cmd *Command) { function writeFlagHandler (line 437) | func writeFlagHandler(buf io.StringWriter, name string, annotations map[... constant cbn (line 473) | cbn = "\")\n" function writeShortFlag (line 475) | func writeShortFlag(buf io.StringWriter, flag *pflag.Flag, cmd *Command) { function writeFlag (line 486) | func writeFlag(buf io.StringWriter, flag *pflag.Flag, cmd *Command) { function writeLocalNonPersistentFlag (line 501) | func writeLocalNonPersistentFlag(buf io.StringWriter, flag *pflag.Flag) { function prepareCustomAnnotationsForFlags (line 514) | func prepareCustomAnnotationsForFlags(cmd *Command) { function writeFlags (line 529) | func writeFlags(buf io.StringWriter, cmd *Command) { function writeRequiredFlag (line 566) | func writeRequiredFlag(buf io.StringWriter, cmd *Command) { function writeRequiredNouns (line 591) | func writeRequiredNouns(buf io.StringWriter, cmd *Command) { function writeCmdAliases (line 605) | func writeCmdAliases(buf io.StringWriter, cmd *Command) { function writeArgAliases (line 620) | func writeArgAliases(buf io.StringWriter, cmd *Command) { function gen (line 628) | func gen(buf io.StringWriter, cmd *Command) { method GenBashCompletion (line 659) | func (c *Command) GenBashCompletion(w io.Writer) error { function nonCompletableFlag (line 672) | func nonCompletableFlag(flag *pflag.Flag) bool { method GenBashCompletionFile (line 677) | func (c *Command) GenBashCompletionFile(filename string) error { FILE: framework/cobra/bash_completionsV2.go method genBashCompletion (line 10) | func (c *Command) genBashCompletion(w io.Writer, includeDesc bool) error { function genBashComp (line 17) | func genBashComp(buf io.StringWriter, name string, includeDesc bool) { method GenBashCompletionFileV2 (line 288) | func (c *Command) GenBashCompletionFileV2(filename string, includeDesc b... method GenBashCompletionV2 (line 300) | func (c *Command) GenBashCompletionV2(w io.Writer, includeDesc bool) err... FILE: framework/cobra/bash_completions_test.go function checkOmit (line 13) | func checkOmit(t *testing.T, found, unexpected string) { function check (line 19) | func check(t *testing.T, found, expected string) { function checkNumOccurrences (line 25) | func checkNumOccurrences(t *testing.T, found, expected string, expectedO... function checkRegex (line 32) | func checkRegex(t *testing.T, found, pattern string) { function runShellCheck (line 42) | func runShellCheck(s string) error { constant bashCompletionFunc (line 64) | bashCompletionFunc = `__root_custom_func() { function TestBashCompletions (line 69) | func TestBashCompletions(t *testing.T) { function TestBashCompletionHiddenFlag (line 215) | func TestBashCompletionHiddenFlag(t *testing.T) { function TestBashCompletionDeprecatedFlag (line 231) | func TestBashCompletionDeprecatedFlag(t *testing.T) { function TestBashCompletionTraverseChildren (line 247) | func TestBashCompletionTraverseChildren(t *testing.T) { FILE: framework/cobra/cobra.go function AddTemplateFunc (line 69) | func AddTemplateFunc(name string, tmplFunc interface{}) { function AddTemplateFuncs (line 75) | func AddTemplateFuncs(tmplFuncs template.FuncMap) { function OnInitialize (line 83) | func OnInitialize(y ...func()) { function Gt (line 92) | func Gt(a interface{}, b interface{}) bool { function Eq (line 122) | func Eq(a interface{}, b interface{}) bool { function trimRightSpace (line 137) | func trimRightSpace(s string) string { function appendIfNotPresent (line 144) | func appendIfNotPresent(s, stringToAppend string) string { function rpad (line 152) | func rpad(s string, padding int) string { function tmpl (line 158) | func tmpl(w io.Writer, text string, data interface{}) error { function ld (line 166) | func ld(s, t string, ignoreCase bool) int { function stringInSlice (line 201) | func stringInSlice(a string, list []string) bool { function CheckErr (line 211) | func CheckErr(msg interface{}) { function WriteStringAndCheck (line 219) | func WriteStringAndCheck(b io.StringWriter, s string) { FILE: framework/cobra/cobra/cmd/add.go function init (line 67) | func init() { function validateCmdName (line 77) | func validateCmdName(source string) string { FILE: framework/cobra/cobra/cmd/add_test.go function TestGoldenAddCmd (line 9) | func TestGoldenAddCmd(t *testing.T) { function TestValidateCmdName (line 28) | func TestValidateCmdName(t *testing.T) { FILE: framework/cobra/cobra/cmd/golden_test.go function init (line 11) | func init() { function ensureLF (line 20) | func ensureLF(content []byte) []byte { function compareFiles (line 28) | func compareFiles(pathA, pathB string) error { FILE: framework/cobra/cobra/cmd/helpers.go function init (line 27) | func init() { FILE: framework/cobra/cobra/cmd/helpers_test.go function assertNoErr (line 5) | func assertNoErr(t *testing.T, e error) { FILE: framework/cobra/cobra/cmd/init.go function init (line 48) | func init() { function initializeProject (line 53) | func initializeProject(args []string) (string, error) { FILE: framework/cobra/cobra/cmd/init_test.go function getProject (line 13) | func getProject() *Project { function TestGoldenInitCmd (line 25) | func TestGoldenInitCmd(t *testing.T) { FILE: framework/cobra/cobra/cmd/license_agpl.go function initAgpl (line 3) | func initAgpl() { FILE: framework/cobra/cobra/cmd/license_apache_2.go function initApache2 (line 18) | func initApache2() { FILE: framework/cobra/cobra/cmd/license_bsd_clause_2.go function initBsdClause2 (line 18) | func initBsdClause2() { FILE: framework/cobra/cobra/cmd/license_bsd_clause_3.go function initBsdClause3 (line 18) | func initBsdClause3() { FILE: framework/cobra/cobra/cmd/license_gpl_2.go function initGpl2 (line 18) | func initGpl2() { FILE: framework/cobra/cobra/cmd/license_gpl_3.go function initGpl3 (line 18) | func initGpl3() { FILE: framework/cobra/cobra/cmd/license_lgpl.go function initLgpl (line 3) | func initLgpl() { FILE: framework/cobra/cobra/cmd/license_mit.go function initMit (line 18) | func initMit() { FILE: framework/cobra/cobra/cmd/licenses.go type License (line 34) | type License struct function init (line 41) | func init() { function getLicense (line 59) | func getLicense() License { function copyrightLine (line 80) | func copyrightLine() string { function findLicense (line 94) | func findLicense(name string) License { function matchLicense (line 106) | func matchLicense(name string) string { FILE: framework/cobra/cobra/cmd/project.go type Project (line 13) | type Project struct method Create (line 29) | func (p *Project) Create() error { method createLicenseFile (line 71) | func (p *Project) createLicenseFile() error { type Command (line 23) | type Command struct method Create (line 85) | func (c *Command) Create() error { FILE: framework/cobra/cobra/cmd/root.go function Execute (line 39) | func Execute() error { function init (line 43) | func init() { function initConfig (line 59) | func initConfig() { FILE: framework/cobra/cobra/main.go function main (line 22) | func main() { FILE: framework/cobra/cobra/tpl/main.go function MainTemplate (line 3) | func MainTemplate() []byte { function RootTemplate (line 18) | func RootTemplate() []byte { function AddCommandTemplate (line 103) | func AddCommandTemplate() []byte { FILE: framework/cobra/cobra_test.go function assertNoErr (line 8) | func assertNoErr(t *testing.T, e error) { function TestAddTemplateFunctions (line 14) | func TestAddTemplateFunctions(t *testing.T) { FILE: framework/cobra/command.go type FParseErrWhitelist (line 34) | type FParseErrWhitelist type Command (line 40) | type Command struct method Context (line 238) | func (c *Command) Context() context.Context { method SetArgs (line 244) | func (c *Command) SetArgs(a []string) { method SetOutput (line 251) | func (c *Command) SetOutput(output io.Writer) { method SetOut (line 258) | func (c *Command) SetOut(newOut io.Writer) { method SetErr (line 264) | func (c *Command) SetErr(newErr io.Writer) { method SetIn (line 270) | func (c *Command) SetIn(newIn io.Reader) { method SetUsageFunc (line 275) | func (c *Command) SetUsageFunc(f func(*Command) error) { method SetUsageTemplate (line 280) | func (c *Command) SetUsageTemplate(s string) { method SetFlagErrorFunc (line 286) | func (c *Command) SetFlagErrorFunc(f func(*Command, error) error) { method SetHelpFunc (line 291) | func (c *Command) SetHelpFunc(f func(*Command, []string)) { method SetHelpCommand (line 296) | func (c *Command) SetHelpCommand(cmd *Command) { method SetHelpTemplate (line 301) | func (c *Command) SetHelpTemplate(s string) { method SetVersionTemplate (line 306) | func (c *Command) SetVersionTemplate(s string) { method SetGlobalNormalizationFunc (line 312) | func (c *Command) SetGlobalNormalizationFunc(n func(f *flag.FlagSet, n... method OutOrStdout (line 323) | func (c *Command) OutOrStdout() io.Writer { method OutOrStderr (line 328) | func (c *Command) OutOrStderr() io.Writer { method ErrOrStderr (line 333) | func (c *Command) ErrOrStderr() io.Writer { method InOrStdin (line 338) | func (c *Command) InOrStdin() io.Reader { method getOut (line 342) | func (c *Command) getOut(def io.Writer) io.Writer { method getErr (line 352) | func (c *Command) getErr(def io.Writer) io.Writer { method getIn (line 362) | func (c *Command) getIn(def io.Reader) io.Reader { method UsageFunc (line 374) | func (c *Command) UsageFunc() (f func(*Command) error) { method Usage (line 394) | func (c *Command) Usage() error { method HelpFunc (line 400) | func (c *Command) HelpFunc() func(*Command, []string) { method Help (line 421) | func (c *Command) Help() error { method UsageString (line 427) | func (c *Command) UsageString() string { method FlagErrorFunc (line 448) | func (c *Command) FlagErrorFunc() (f func(*Command, error) error) { method UsagePadding (line 464) | func (c *Command) UsagePadding() int { method CommandPathPadding (line 474) | func (c *Command) CommandPathPadding() int { method NamePadding (line 484) | func (c *Command) NamePadding() int { method UsageTemplate (line 492) | func (c *Command) UsageTemplate() string { method HelpTemplate (line 527) | func (c *Command) HelpTemplate() string { method VersionTemplate (line 541) | func (c *Command) VersionTemplate() string { method Find (line 632) | func (c *Command) Find(args []string) (*Command, []string, error) { method findSuggestions (line 656) | func (c *Command) findSuggestions(arg string) string { method findNext (line 673) | func (c *Command) findNext(next string) *Command { method Traverse (line 694) | func (c *Command) Traverse(args []string) (*Command, []string, error) { method SuggestionsFor (line 736) | func (c *Command) SuggestionsFor(typedName string) []string { method VisitParents (line 757) | func (c *Command) VisitParents(fn func(*Command)) { method Root (line 765) | func (c *Command) Root() *Command { method ArgsLenAtDash (line 774) | func (c *Command) ArgsLenAtDash() int { method execute (line 778) | func (c *Command) execute(a []string) (err error) { method preRun (line 893) | func (c *Command) preRun() { method ExecuteContext (line 902) | func (c *Command) ExecuteContext(ctx context.Context) error { method Execute (line 910) | func (c *Command) Execute() error { method ExecuteContextC (line 918) | func (c *Command) ExecuteContextC(ctx context.Context) (*Command, erro... method ExecuteC (line 924) | func (c *Command) ExecuteC() (cmd *Command, err error) { method ValidateArgs (line 1007) | func (c *Command) ValidateArgs(args []string) error { method validateRequiredFlags (line 1014) | func (c *Command) validateRequiredFlags() error { method InitDefaultHelpFlag (line 1040) | func (c *Command) InitDefaultHelpFlag() { method InitDefaultVersionFlag (line 1057) | func (c *Command) InitDefaultVersionFlag() { method InitDefaultHelpCmd (line 1081) | func (c *Command) InitDefaultHelpCmd() { method ResetCommands (line 1128) | func (c *Command) ResetCommands() { method Commands (line 1143) | func (c *Command) Commands() []*Command { method AddCommand (line 1153) | func (c *Command) AddCommand(cmds ...*Command) { method RemoveCommand (line 1182) | func (c *Command) RemoveCommand(cmds ...*Command) { method Print (line 1216) | func (c *Command) Print(i ...interface{}) { method Println (line 1221) | func (c *Command) Println(i ...interface{}) { method Printf (line 1226) | func (c *Command) Printf(format string, i ...interface{}) { method PrintErr (line 1231) | func (c *Command) PrintErr(i ...interface{}) { method PrintErrln (line 1236) | func (c *Command) PrintErrln(i ...interface{}) { method PrintErrf (line 1241) | func (c *Command) PrintErrf(format string, i ...interface{}) { method CommandPath (line 1246) | func (c *Command) CommandPath() string { method UseLine (line 1254) | func (c *Command) UseLine() string { method DebugFlags (line 1272) | func (c *Command) DebugFlags() { method Name (line 1312) | func (c *Command) Name() string { method HasAlias (line 1322) | func (c *Command) HasAlias(s string) bool { method CalledAs (line 1333) | func (c *Command) CalledAs() string { method hasNameOrAliasPrefix (line 1342) | func (c *Command) hasNameOrAliasPrefix(prefix string) bool { method NameAndAliases (line 1357) | func (c *Command) NameAndAliases() string { method HasExample (line 1362) | func (c *Command) HasExample() bool { method Runnable (line 1367) | func (c *Command) Runnable() bool { method HasSubCommands (line 1372) | func (c *Command) HasSubCommands() bool { method IsAvailableCommand (line 1378) | func (c *Command) IsAvailableCommand() bool { method IsAdditionalHelpTopicCommand (line 1399) | func (c *Command) IsAdditionalHelpTopicCommand() bool { method HasHelpSubCommands (line 1419) | func (c *Command) HasHelpSubCommands() bool { method HasAvailableSubCommands (line 1433) | func (c *Command) HasAvailableSubCommands() bool { method HasParent (line 1448) | func (c *Command) HasParent() bool { method GlobalNormalizationFunc (line 1453) | func (c *Command) GlobalNormalizationFunc() func(f *flag.FlagSet, name... method Flags (line 1459) | func (c *Command) Flags() *flag.FlagSet { method LocalNonPersistentFlags (line 1472) | func (c *Command) LocalNonPersistentFlags() *flag.FlagSet { method LocalFlags (line 1485) | func (c *Command) LocalFlags() *flag.FlagSet { method InheritedFlags (line 1511) | func (c *Command) InheritedFlags() *flag.FlagSet { method NonInheritedFlags (line 1536) | func (c *Command) NonInheritedFlags() *flag.FlagSet { method PersistentFlags (line 1541) | func (c *Command) PersistentFlags() *flag.FlagSet { method ResetFlags (line 1553) | func (c *Command) ResetFlags() { method HasFlags (line 1567) | func (c *Command) HasFlags() bool { method HasPersistentFlags (line 1572) | func (c *Command) HasPersistentFlags() bool { method HasLocalFlags (line 1577) | func (c *Command) HasLocalFlags() bool { method HasInheritedFlags (line 1582) | func (c *Command) HasInheritedFlags() bool { method HasAvailableFlags (line 1588) | func (c *Command) HasAvailableFlags() bool { method HasAvailablePersistentFlags (line 1593) | func (c *Command) HasAvailablePersistentFlags() bool { method HasAvailableLocalFlags (line 1599) | func (c *Command) HasAvailableLocalFlags() bool { method HasAvailableInheritedFlags (line 1605) | func (c *Command) HasAvailableInheritedFlags() bool { method Flag (line 1610) | func (c *Command) Flag(name string) (flag *flag.Flag) { method persistentFlag (line 1621) | func (c *Command) persistentFlag(name string) (flag *flag.Flag) { method ParseFlags (line 1634) | func (c *Command) ParseFlags(args []string) error { method Parent (line 1658) | func (c *Command) Parent() *Command { method mergePersistentFlags (line 1664) | func (c *Command) mergePersistentFlags() { method updateParentsPflags (line 1673) | func (c *Command) updateParentsPflags() { function hasNoOptDefVal (line 553) | func hasNoOptDefVal(name string, fs *flag.FlagSet) bool { function shortHasNoOptDefVal (line 561) | func shortHasNoOptDefVal(name string, fs *flag.FlagSet) bool { function stripFlags (line 573) | func stripFlags(args []string, c *Command) []string { function argsMinusFirstX (line 613) | func argsMinusFirstX(args []string, x string) []string { function isFlagArg (line 625) | func isFlagArg(arg string) bool { type commandSorterByName (line 1136) | type commandSorterByName method Len (line 1138) | func (c commandSorterByName) Len() int { return len(c) } method Swap (line 1139) | func (c commandSorterByName) Swap(i, j int) { c[i], c[j] = c[j], ... method Less (line 1140) | func (c commandSorterByName) Less(i, j int) bool { return c[i].Name() ... FILE: framework/cobra/command_test.go function emptyRun (line 16) | func emptyRun(*Command, []string) {} function executeCommand (line 18) | func executeCommand(root *Command, args ...string) (output string, err e... function executeCommandWithContext (line 23) | func executeCommandWithContext(ctx context.Context, root *Command, args ... function executeCommandC (line 34) | func executeCommandC(root *Command, args ...string) (c *Command, output ... function executeCommandWithContextC (line 45) | func executeCommandWithContextC(ctx context.Context, root *Command, args... function resetCommandLineFlagSet (line 56) | func resetCommandLineFlagSet() { function checkStringContains (line 60) | func checkStringContains(t *testing.T, got, expected string) { function checkStringOmits (line 66) | func checkStringOmits(t *testing.T, got, expected string) { constant onetwo (line 72) | onetwo = "one two" function TestSingleCommand (line 74) | func TestSingleCommand(t *testing.T) { function TestChildCommand (line 99) | func TestChildCommand(t *testing.T) { function TestCallCommandWithoutSubcommands (line 124) | func TestCallCommandWithoutSubcommands(t *testing.T) { function TestRootExecuteUnknownCommand (line 132) | func TestRootExecuteUnknownCommand(t *testing.T) { function TestSubcommandExecuteC (line 145) | func TestSubcommandExecuteC(t *testing.T) { function TestExecuteContext (line 163) | func TestExecuteContext(t *testing.T) { function TestExecuteContextC (line 192) | func TestExecuteContextC(t *testing.T) { function TestExecute_NoContext (line 221) | func TestExecute_NoContext(t *testing.T) { function TestRootUnknownCommandSilenced (line 248) | func TestRootUnknownCommandSilenced(t *testing.T) { function TestCommandAlias (line 260) | func TestCommandAlias(t *testing.T) { function TestEnablePrefixMatching (line 291) | func TestEnablePrefixMatching(t *testing.T) { function TestAliasPrefixMatching (line 320) | func TestAliasPrefixMatching(t *testing.T) { function TestChildSameName (line 358) | func TestChildSameName(t *testing.T) { function TestGrandChildSameName (line 386) | func TestGrandChildSameName(t *testing.T) { function TestFlagLong (line 412) | func TestFlagLong(t *testing.T) { function TestFlagShort (line 449) | func TestFlagShort(t *testing.T) { function TestChildFlag (line 483) | func TestChildFlag(t *testing.T) { function TestChildFlagWithParentLocalFlag (line 504) | func TestChildFlagWithParentLocalFlag(t *testing.T) { function TestFlagInvalidInput (line 525) | func TestFlagInvalidInput(t *testing.T) { function TestFlagBeforeCommand (line 537) | func TestFlagBeforeCommand(t *testing.T) { function TestStripFlags (line 564) | func TestStripFlags(t *testing.T) { function TestDisableFlagParsing (line 637) | func TestDisableFlagParsing(t *testing.T) { function TestPersistentFlagsOnSameCommand (line 661) | func TestPersistentFlagsOnSameCommand(t *testing.T) { function TestEmptyInputs (line 691) | func TestEmptyInputs(t *testing.T) { function TestOverwrittenFlag (line 710) | func TestOverwrittenFlag(t *testing.T) { function TestPersistentFlagsOnChild (line 742) | func TestPersistentFlagsOnChild(t *testing.T) { function TestRequiredFlags (line 777) | func TestRequiredFlags(t *testing.T) { function TestPersistentRequiredFlags (line 795) | func TestPersistentRequiredFlags(t *testing.T) { function TestPersistentRequiredFlagsWithDisableFlagParsing (line 820) | func TestPersistentRequiredFlagsWithDisableFlagParsing(t *testing.T) { function TestInitHelpFlagMergesFlags (line 851) | func TestInitHelpFlagMergesFlags(t *testing.T) { function TestHelpCommandExecuted (line 865) | func TestHelpCommandExecuted(t *testing.T) { function TestHelpCommandExecutedOnChild (line 877) | func TestHelpCommandExecutedOnChild(t *testing.T) { function TestSetHelpCommand (line 890) | func TestSetHelpCommand(t *testing.T) { function TestHelpFlagExecuted (line 913) | func TestHelpFlagExecuted(t *testing.T) { function TestHelpFlagExecutedOnChild (line 924) | func TestHelpFlagExecutedOnChild(t *testing.T) { function TestHelpFlagInHelp (line 941) | func TestHelpFlagInHelp(t *testing.T) { function TestFlagsInUsage (line 955) | func TestFlagsInUsage(t *testing.T) { function TestHelpExecutedOnNonRunnableChild (line 965) | func TestHelpExecutedOnNonRunnableChild(t *testing.T) { function TestVersionFlagExecuted (line 978) | func TestVersionFlagExecuted(t *testing.T) { function TestVersionFlagExecutedWithNoName (line 989) | func TestVersionFlagExecutedWithNoName(t *testing.T) { function TestShortAndLongVersionFlagInHelp (line 1000) | func TestShortAndLongVersionFlagInHelp(t *testing.T) { function TestLongVersionFlagOnlyInHelpWhenShortPredefined (line 1011) | func TestLongVersionFlagOnlyInHelpWhenShortPredefined(t *testing.T) { function TestShorthandVersionFlagExecuted (line 1024) | func TestShorthandVersionFlagExecuted(t *testing.T) { function TestVersionTemplate (line 1035) | func TestVersionTemplate(t *testing.T) { function TestShorthandVersionTemplate (line 1047) | func TestShorthandVersionTemplate(t *testing.T) { function TestVersionFlagExecutedOnSubcommand (line 1059) | func TestVersionFlagExecutedOnSubcommand(t *testing.T) { function TestShorthandVersionFlagExecutedOnSubcommand (line 1071) | func TestShorthandVersionFlagExecutedOnSubcommand(t *testing.T) { function TestVersionFlagOnlyAddedToRoot (line 1083) | func TestVersionFlagOnlyAddedToRoot(t *testing.T) { function TestShortVersionFlagOnlyAddedToRoot (line 1095) | func TestShortVersionFlagOnlyAddedToRoot(t *testing.T) { function TestVersionFlagOnlyExistsIfVersionNonEmpty (line 1107) | func TestVersionFlagOnlyExistsIfVersionNonEmpty(t *testing.T) { function TestShorthandVersionFlagOnlyExistsIfVersionNonEmpty (line 1117) | func TestShorthandVersionFlagOnlyExistsIfVersionNonEmpty(t *testing.T) { function TestShorthandVersionFlagOnlyAddedIfShorthandNotDefined (line 1127) | func TestShorthandVersionFlagOnlyAddedIfShorthandNotDefined(t *testing.T) { function TestShorthandVersionFlagOnlyAddedIfVersionNotDefined (line 1139) | func TestShorthandVersionFlagOnlyAddedIfVersionNotDefined(t *testing.T) { function TestUsageIsNotPrintedTwice (line 1150) | func TestUsageIsNotPrintedTwice(t *testing.T) { function TestVisitParents (line 1161) | func TestVisitParents(t *testing.T) { function TestSuggestions (line 1190) | func TestSuggestions(t *testing.T) { function TestRemoveCommand (line 1237) | func TestRemoveCommand(t *testing.T) { function TestReplaceCommandWithRemove (line 1249) | func TestReplaceCommandWithRemove(t *testing.T) { function TestDeprecatedCommand (line 1280) | func TestDeprecatedCommand(t *testing.T) { function TestHooks (line 1297) | func TestHooks(t *testing.T) { function TestPersistentHooks (line 1349) | func TestPersistentHooks(t *testing.T) { function TestGlobalNormFuncPropagation (line 1453) | func TestGlobalNormFuncPropagation(t *testing.T) { function TestNormPassedOnLocal (line 1473) | func TestNormPassedOnLocal(t *testing.T) { function TestNormPassedOnInherited (line 1487) | func TestNormPassedOnInherited(t *testing.T) { function TestConsistentNormalizedName (line 1515) | func TestConsistentNormalizedName(t *testing.T) { function TestFlagOnPflagCommandLine (line 1533) | func TestFlagOnPflagCommandLine(t *testing.T) { function TestHiddenCommandExecutes (line 1548) | func TestHiddenCommandExecutes(t *testing.T) { function TestHiddenCommandIsHidden (line 1570) | func TestHiddenCommandIsHidden(t *testing.T) { function TestCommandsAreSorted (line 1577) | func TestCommandsAreSorted(t *testing.T) { function TestEnableCommandSortingIsDisabled (line 1599) | func TestEnableCommandSortingIsDisabled(t *testing.T) { function TestSetOutput (line 1620) | func TestSetOutput(t *testing.T) { function TestSetOut (line 1628) | func TestSetOut(t *testing.T) { function TestSetErr (line 1636) | func TestSetErr(t *testing.T) { function TestSetIn (line 1644) | func TestSetIn(t *testing.T) { function TestUsageStringRedirected (line 1652) | func TestUsageStringRedirected(t *testing.T) { function TestCommandPrintRedirection (line 1668) | func TestCommandPrintRedirection(t *testing.T) { function TestFlagErrorFunc (line 1709) | func TestFlagErrorFunc(t *testing.T) { function TestSortedFlags (line 1729) | func TestSortedFlags(t *testing.T) { function TestMergeCommandLineToFlags (line 1755) | func TestMergeCommandLineToFlags(t *testing.T) { function TestUseDeprecatedFlags (line 1769) | func TestUseDeprecatedFlags(t *testing.T) { function TestTraverseWithParentFlags (line 1781) | func TestTraverseWithParentFlags(t *testing.T) { function TestTraverseNoParentFlags (line 1803) | func TestTraverseNoParentFlags(t *testing.T) { function TestTraverseWithBadParentFlags (line 1823) | func TestTraverseWithBadParentFlags(t *testing.T) { function TestTraverseWithBadChildFlag (line 1841) | func TestTraverseWithBadChildFlag(t *testing.T) { function TestTraverseWithTwoSubcommands (line 1862) | func TestTraverseWithTwoSubcommands(t *testing.T) { function TestUpdateName (line 1884) | func TestUpdateName(t *testing.T) { type calledAsTestcase (line 1894) | type calledAsTestcase struct method test (line 1901) | func (tc *calledAsTestcase) test(t *testing.T) { function TestCalledAs (line 1936) | func TestCalledAs(t *testing.T) { function TestFParseErrWhitelistBackwardCompatibility (line 1957) | func TestFParseErrWhitelistBackwardCompatibility(t *testing.T) { function TestFParseErrWhitelistSameCommand (line 1968) | func TestFParseErrWhitelistSameCommand(t *testing.T) { function TestFParseErrWhitelistParentCommand (line 1984) | func TestFParseErrWhitelistParentCommand(t *testing.T) { function TestFParseErrWhitelistChildCommand (line 2008) | func TestFParseErrWhitelistChildCommand(t *testing.T) { function TestFParseErrWhitelistSiblingCommand (line 2031) | func TestFParseErrWhitelistSiblingCommand(t *testing.T) { FILE: framework/cobra/command_win.go function preExecHook (line 16) | func preExecHook(c *Command) { FILE: framework/cobra/completions.go constant ShellCompRequestCmd (line 15) | ShellCompRequestCmd = "__complete" constant ShellCompNoDescRequestCmd (line 18) | ShellCompNoDescRequestCmd = "__completeNoDesc" type ShellCompDirective (line 29) | type ShellCompDirective method string (line 121) | func (d ShellCompDirective) string() string { type flagCompError (line 31) | type flagCompError struct method Error (line 36) | func (e *flagCompError) Error() string { constant ShellCompDirectiveError (line 42) | ShellCompDirectiveError ShellCompDirective = 1 << iota constant ShellCompDirectiveNoSpace (line 46) | ShellCompDirectiveNoSpace constant ShellCompDirectiveNoFileComp (line 50) | ShellCompDirectiveNoFileComp constant ShellCompDirectiveFilterFileExt (line 57) | ShellCompDirectiveFilterFileExt constant ShellCompDirectiveFilterDirs (line 64) | ShellCompDirectiveFilterDirs constant shellCompDirectiveMaxValue (line 70) | shellCompDirectiveMaxValue constant ShellCompDirectiveDefault (line 75) | ShellCompDirectiveDefault ShellCompDirective = 0 constant compCmdName (line 80) | compCmdName = "completion" constant compCmdNoDescFlagName (line 81) | compCmdNoDescFlagName = "no-descriptions" constant compCmdNoDescFlagDesc (line 82) | compCmdNoDescFlagDesc = "disable completion descriptions" constant compCmdNoDescFlagDefault (line 83) | compCmdNoDescFlagDefault = false type CompletionOptions (line 87) | type CompletionOptions struct function NoFileCompletions (line 100) | func NoFileCompletions(cmd *Command, args []string, toComplete string) (... method RegisterFlagCompletionFunc (line 105) | func (c *Command) RegisterFlagCompletionFunc(flagName string, f func(cmd... method initCompleteCmd (line 149) | func (c *Command) initCompleteCmd(args []string) { method getCompletions (line 215) | func (c *Command) getCompletions(args []string) (*Command, []string, She... function getFlagNameCompletions (line 427) | func getFlagNameCompletions(flag *pflag.Flag, toComplete string) []string { function completeRequireFlags (line 460) | func completeRequireFlags(finalCmd *Command, toComplete string) []string { function checkIfFlagCompletion (line 485) | func checkIfFlagCompletion(finalCmd *Command, args []string, lastArg str... method initDefaultCompletionCmd (line 576) | func (c *Command) initDefaultCompletionCmd() { function findFlag (line 721) | func findFlag(cmd *Command, name string) *pflag.Flag { function CompDebug (line 744) | func CompDebug(msg string, printToStdErr bool) { function CompDebugln (line 768) | func CompDebugln(msg string, printToStdErr bool) { function CompError (line 773) | func CompError(msg string) { function CompErrorln (line 779) | func CompErrorln(msg string) { FILE: framework/cobra/completions_test.go function validArgsFunc (line 10) | func validArgsFunc(cmd *Command, args []string, toComplete string) ([]st... function validArgsFunc2 (line 24) | func validArgsFunc2(cmd *Command, args []string, toComplete string) ([]s... function TestCmdNameCompletionInGo (line 38) | func TestCmdNameCompletionInGo(t *testing.T) { function TestNoCmdNameCompletionInGo (line 140) | func TestNoCmdNameCompletionInGo(t *testing.T) { function TestValidArgsCompletionInGo (line 305) | func TestValidArgsCompletionInGo(t *testing.T) { function TestValidArgsAndCmdCompletionInGo (line 359) | func TestValidArgsAndCmdCompletionInGo(t *testing.T) { function TestValidArgsFuncAndCmdCompletionInGo (line 409) | func TestValidArgsFuncAndCmdCompletionInGo(t *testing.T) { function TestFlagNameCompletionInGo (line 476) | func TestFlagNameCompletionInGo(t *testing.T) { function TestFlagNameCompletionInGoWithDesc (line 559) | func TestFlagNameCompletionInGoWithDesc(t *testing.T) { function TestFlagNameCompletionRepeat (line 643) | func TestFlagNameCompletionRepeat(t *testing.T) { function TestRequiredFlagNameCompletionInGo (line 775) | func TestRequiredFlagNameCompletionInGo(t *testing.T) { function TestFlagFileExtFilterCompletionInGo (line 969) | func TestFlagFileExtFilterCompletionInGo(t *testing.T) { function TestFlagDirFilterCompletionInGo (line 1091) | func TestFlagDirFilterCompletionInGo(t *testing.T) { function TestValidArgsFuncCmdContext (line 1207) | func TestValidArgsFuncCmdContext(t *testing.T) { function TestValidArgsFuncSingleCmd (line 1249) | func TestValidArgsFuncSingleCmd(t *testing.T) { function TestValidArgsFuncSingleCmdInvalidArg (line 1288) | func TestValidArgsFuncSingleCmdInvalidArg(t *testing.T) { function TestValidArgsFuncChildCmds (line 1315) | func TestValidArgsFuncChildCmds(t *testing.T) { function TestValidArgsFuncAliases (line 1419) | func TestValidArgsFuncAliases(t *testing.T) { function TestValidArgsFuncInBashScript (line 1475) | func TestValidArgsFuncInBashScript(t *testing.T) { function TestNoValidArgsFuncInBashScript (line 1491) | func TestNoValidArgsFuncInBashScript(t *testing.T) { function TestCompleteCmdInBashScript (line 1506) | func TestCompleteCmdInBashScript(t *testing.T) { function TestCompleteNoDesCmdInZshScript (line 1522) | func TestCompleteNoDesCmdInZshScript(t *testing.T) { function TestCompleteCmdInZshScript (line 1538) | func TestCompleteCmdInZshScript(t *testing.T) { function TestFlagCompletionInGo (line 1555) | func TestFlagCompletionInGo(t *testing.T) { function TestValidArgsFuncChildCmdsWithDesc (line 1648) | func TestValidArgsFuncChildCmdsWithDesc(t *testing.T) { function TestFlagCompletionWithNotInterspersedArgs (line 1752) | func TestFlagCompletionWithNotInterspersedArgs(t *testing.T) { function TestFlagCompletionWorksRootCommandAddedAfterFlags (line 1974) | func TestFlagCompletionWorksRootCommandAddedAfterFlags(t *testing.T) { function TestFlagCompletionInGoWithDesc (line 2009) | func TestFlagCompletionInGoWithDesc(t *testing.T) { function TestValidArgsNotValidArgsFunc (line 2102) | func TestValidArgsNotValidArgsFunc(t *testing.T) { function TestArgAliasesCompletionInGo (line 2145) | func TestArgAliasesCompletionInGo(t *testing.T) { function TestCompleteHelp (line 2203) | func TestCompleteHelp(t *testing.T) { function removeCompCmd (line 2273) | func removeCompCmd(rootCmd *Command) { function TestDefaultCompletionCmd (line 2283) | func TestDefaultCompletionCmd(t *testing.T) { function TestCompleteCompletion (line 2403) | func TestCompleteCompletion(t *testing.T) { function TestMultipleShorthandFlagCompletion (line 2454) | func TestMultipleShorthandFlagCompletion(t *testing.T) { FILE: framework/cobra/doc/cmd_test.go function emptyRun (line 10) | func emptyRun(*cobra.Command, []string) {} function init (line 12) | func init() { function checkStringContains (line 81) | func checkStringContains(t *testing.T, got, expected string) { function checkStringOmits (line 87) | func checkStringOmits(t *testing.T, got, expected string) { FILE: framework/cobra/doc/man_docs.go function GenManTree (line 37) | func GenManTree(cmd *cobra.Command, header *GenManHeader, dir string) er... function GenManTreeFromOpts (line 47) | func GenManTreeFromOpts(cmd *cobra.Command, opts GenManTreeOptions) error { type GenManTreeOptions (line 83) | type GenManTreeOptions struct type GenManHeader (line 93) | type GenManHeader struct function GenMan (line 104) | func GenMan(cmd *cobra.Command, header *GenManHeader, w io.Writer) error { function fillHeader (line 117) | func fillHeader(header *GenManHeader, name string, disableAutoGen bool) ... function manPreamble (line 142) | func manPreamble(buf io.StringWriter, header *GenManHeader, cmd *cobra.C... function manPrintFlags (line 158) | func manPrintFlags(buf io.StringWriter, flags *pflag.FlagSet) { function manPrintOptions (line 186) | func manPrintOptions(buf io.StringWriter, command *cobra.Command) { function genMan (line 201) | func genMan(cmd *cobra.Command, header *GenManHeader) []byte { FILE: framework/cobra/doc/man_docs_test.go function assertNoErr (line 16) | func assertNoErr(t *testing.T, e error) { function translate (line 22) | func translate(in string) string { function TestGenManDoc (line 26) | func TestGenManDoc(t *testing.T) { function TestGenManNoHiddenParents (line 56) | func TestGenManNoHiddenParents(t *testing.T) { function TestGenManNoGenTag (line 92) | func TestGenManNoGenTag(t *testing.T) { function TestGenManSeeAlso (line 114) | func TestGenManSeeAlso(t *testing.T) { function TestManPrintFlagsHidesShortDeperecated (line 139) | func TestManPrintFlagsHidesShortDeperecated(t *testing.T) { function TestGenManTree (line 154) | func TestGenManTree(t *testing.T) { function assertLineFound (line 176) | func assertLineFound(scanner *bufio.Scanner, expectedLine string) error { function assertNextLineEquals (line 191) | func assertNextLineEquals(scanner *bufio.Scanner, expectedLine string) e... function BenchmarkGenManToFile (line 207) | func BenchmarkGenManToFile(b *testing.B) { FILE: framework/cobra/doc/man_examples_test.go function ExampleGenManTree (line 11) | func ExampleGenManTree() { function ExampleGenMan (line 23) | func ExampleGenMan() { FILE: framework/cobra/doc/md_docs.go function printOptions (line 29) | func printOptions(buf *bytes.Buffer, cmd *cobra.Command, name string) er... function GenMarkdown (line 49) | func GenMarkdown(cmd *cobra.Command, w io.Writer) error { function GenMarkdownCustom (line 54) | func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func... function GenMarkdownTree (line 122) | func GenMarkdownTree(cmd *cobra.Command, dir string) error { function GenMarkdownTreeCustom (line 130) | func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender... FILE: framework/cobra/doc/md_docs_test.go function TestGenMdDoc (line 13) | func TestGenMdDoc(t *testing.T) { function TestGenMdDocWithNoLongOrSynopsis (line 31) | func TestGenMdDocWithNoLongOrSynopsis(t *testing.T) { function TestGenMdNoHiddenParents (line 45) | func TestGenMdNoHiddenParents(t *testing.T) { function TestGenMdNoTag (line 68) | func TestGenMdNoTag(t *testing.T) { function TestGenMdTree (line 81) | func TestGenMdTree(t *testing.T) { function BenchmarkGenMarkdownToFile (line 98) | func BenchmarkGenMarkdownToFile(b *testing.B) { FILE: framework/cobra/doc/rest_docs.go function printOptionsReST (line 29) | func printOptionsReST(buf *bytes.Buffer, cmd *cobra.Command, name string... function defaultLinkHandler (line 51) | func defaultLinkHandler(name, ref string) string { function GenReST (line 56) | func GenReST(cmd *cobra.Command, w io.Writer) error { function GenReSTCustom (line 61) | func GenReSTCustom(cmd *cobra.Command, w io.Writer, linkHandler func(str... function GenReSTTree (line 137) | func GenReSTTree(cmd *cobra.Command, dir string) error { function GenReSTTreeCustom (line 144) | func GenReSTTreeCustom(cmd *cobra.Command, dir string, filePrepender fun... function indentString (line 172) | func indentString(s, p string) string { FILE: framework/cobra/doc/rest_docs_test.go function TestGenRSTDoc (line 13) | func TestGenRSTDoc(t *testing.T) { function TestGenRSTNoHiddenParents (line 30) | func TestGenRSTNoHiddenParents(t *testing.T) { function TestGenRSTNoTag (line 53) | func TestGenRSTNoTag(t *testing.T) { function TestGenRSTTree (line 67) | func TestGenRSTTree(t *testing.T) { function BenchmarkGenReSTToFile (line 85) | func BenchmarkGenReSTToFile(b *testing.B) { FILE: framework/cobra/doc/util.go function hasSeeAlso (line 25) | func hasSeeAlso(cmd *cobra.Command) bool { function forceMultiLine (line 40) | func forceMultiLine(s string) string { type byName (line 47) | type byName method Len (line 49) | func (s byName) Len() int { return len(s) } method Swap (line 50) | func (s byName) Swap(i, j int) { s[i], s[j] = s[j], s[i] } method Less (line 51) | func (s byName) Less(i, j int) bool { return s[i].Name() < s[j].Name() } FILE: framework/cobra/doc/yaml_docs.go type cmdOption (line 29) | type cmdOption struct type cmdDoc (line 36) | type cmdDoc struct function GenYamlTree (line 52) | func GenYamlTree(cmd *cobra.Command, dir string) error { function GenYamlTreeCustom (line 59) | func GenYamlTreeCustom(cmd *cobra.Command, dir string, filePrepender, li... function GenYaml (line 87) | func GenYaml(cmd *cobra.Command, w io.Writer) error { function GenYamlCustom (line 92) | func GenYamlCustom(cmd *cobra.Command, w io.Writer, linkHandler func(str... function genFlagResult (line 148) | func genFlagResult(flags *pflag.FlagSet) []cmdOption { FILE: framework/cobra/doc/yaml_docs_test.go function TestGenYamlDoc (line 13) | func TestGenYamlDoc(t *testing.T) { function TestGenYamlNoTag (line 29) | func TestGenYamlNoTag(t *testing.T) { function TestGenYamlTree (line 42) | func TestGenYamlTree(t *testing.T) { function TestGenYamlDocRunnable (line 60) | func TestGenYamlDocRunnable(t *testing.T) { function BenchmarkGenYamlToFile (line 71) | func BenchmarkGenYamlToFile(b *testing.B) { FILE: framework/cobra/fish_completions.go function genFishComp (line 11) | func genFishComp(buf io.StringWriter, name string, includeDesc bool) { method GenFishCompletion (line 203) | func (c *Command) GenFishCompletion(w io.Writer, includeDesc bool) error { method GenFishCompletionFile (line 211) | func (c *Command) GenFishCompletionFile(filename string, includeDesc boo... FILE: framework/cobra/fish_completions_test.go function TestCompleteNoDesCmdInFishScript (line 8) | func TestCompleteNoDesCmdInFishScript(t *testing.T) { function TestCompleteCmdInFishScript (line 24) | func TestCompleteCmdInFishScript(t *testing.T) { function TestProgWithDash (line 41) | func TestProgWithDash(t *testing.T) { function TestProgWithColon (line 56) | func TestProgWithColon(t *testing.T) { FILE: framework/cobra/hade_command.go method SetContainer (line 10) | func (c *Command) SetContainer(container framework.Container) { method GetContainer (line 15) | func (c *Command) GetContainer() framework.Container { type CronSpec (line 20) | type CronSpec struct method SetParantNull (line 27) | func (c *Command) SetParantNull() { method AddCronCommand (line 32) | func (c *Command) AddCronCommand(spec string, cmd *Command) { FILE: framework/cobra/hade_command_contract.go method MustMakeApp (line 6) | func (c *Command) MustMakeApp() contract.App { method MustMakeKernel (line 11) | func (c *Command) MustMakeKernel() contract.Kernel { FILE: framework/cobra/hade_command_distributed.go method AddDistributedCronCommand (line 15) | func (c *Command) AddDistributedCronCommand(serviceName string, spec str... FILE: framework/cobra/powershell_completions.go function genPowerShellComp (line 13) | func genPowerShellComp(buf io.StringWriter, name string, includeDesc boo... method genPowerShellCompletion (line 248) | func (c *Command) genPowerShellCompletion(w io.Writer, includeDesc bool)... method genPowerShellCompletionFile (line 255) | func (c *Command) genPowerShellCompletionFile(filename string, includeDe... method GenPowerShellCompletionFile (line 266) | func (c *Command) GenPowerShellCompletionFile(filename string) error { method GenPowerShellCompletion (line 272) | func (c *Command) GenPowerShellCompletion(w io.Writer) error { method GenPowerShellCompletionFileWithDesc (line 277) | func (c *Command) GenPowerShellCompletionFileWithDesc(filename string) e... method GenPowerShellCompletionWithDesc (line 283) | func (c *Command) GenPowerShellCompletionWithDesc(w io.Writer) error { FILE: framework/cobra/shell_completions.go method MarkFlagRequired (line 10) | func (c *Command) MarkFlagRequired(name string) error { method MarkPersistentFlagRequired (line 17) | func (c *Command) MarkPersistentFlagRequired(name string) error { function MarkFlagRequired (line 24) | func MarkFlagRequired(flags *pflag.FlagSet, name string) error { method MarkFlagFilename (line 30) | func (c *Command) MarkFlagFilename(name string, extensions ...string) er... method MarkFlagCustom (line 40) | func (c *Command) MarkFlagCustom(name string, f string) error { method MarkPersistentFlagFilename (line 47) | func (c *Command) MarkPersistentFlagFilename(name string, extensions ...... function MarkFlagFilename (line 53) | func MarkFlagFilename(flags *pflag.FlagSet, name string, extensions ...s... function MarkFlagCustom (line 63) | func MarkFlagCustom(flags *pflag.FlagSet, name string, f string) error { method MarkFlagDirname (line 69) | func (c *Command) MarkFlagDirname(name string) error { method MarkPersistentFlagDirname (line 76) | func (c *Command) MarkPersistentFlagDirname(name string) error { function MarkFlagDirname (line 82) | func MarkFlagDirname(flags *pflag.FlagSet, name string) error { FILE: framework/cobra/zsh_completions.go method GenZshCompletionFile (line 11) | func (c *Command) GenZshCompletionFile(filename string) error { method GenZshCompletion (line 17) | func (c *Command) GenZshCompletion(w io.Writer) error { method GenZshCompletionFileNoDesc (line 22) | func (c *Command) GenZshCompletionFileNoDesc(filename string) error { method GenZshCompletionNoDesc (line 28) | func (c *Command) GenZshCompletionNoDesc(w io.Writer) error { method MarkZshCompPositionalArgumentFile (line 41) | func (c *Command) MarkZshCompPositionalArgumentFile(argPosition int, pat... method MarkZshCompPositionalArgumentWords (line 52) | func (c *Command) MarkZshCompPositionalArgumentWords(argPosition int, wo... method genZshCompletionFile (line 56) | func (c *Command) genZshCompletionFile(filename string, includeDesc bool... method genZshCompletion (line 66) | func (c *Command) genZshCompletion(w io.Writer, includeDesc bool) error { function genZshComp (line 73) | func genZshComp(buf io.StringWriter, name string, includeDesc bool) { FILE: framework/command/app.go function initAppCommand (line 28) | func initAppCommand() *cobra.Command { function startAppServe (line 52) | func startAppServe(server *http.Server, c framework.Container) error { FILE: framework/command/build.go function initBuildCommand (line 12) | func initBuildCommand() *cobra.Command { FILE: framework/command/cmd.go function initCmdCommand (line 20) | func initCmdCommand() *cobra.Command { FILE: framework/command/config.go function initConfigCommand (line 11) | func initConfigCommand() *cobra.Command { FILE: framework/command/cron.go function initCronCommand (line 21) | func initCronCommand() *cobra.Command { FILE: framework/command/deploy.go function initDeployCommand (line 22) | func initDeployCommand() *cobra.Command { function deployBuildBackend (line 137) | func deployBuildBackend(c *cobra.Command, deployFolder string) error { function deployUploadAction (line 201) | func deployUploadAction(deployFolder string, container framework.Contain... function uploadFolderToSFTP (line 299) | func uploadFolderToSFTP(container framework.Container, localFolder, remo... function deployBuildFrontend (line 375) | func deployBuildFrontend(c *cobra.Command, deployFolder string) error { function createDeployFolder (line 398) | func createDeployFolder(c framework.Container) (string, error) { FILE: framework/command/dev.go type devConfig (line 24) | type devConfig struct function initDevConfig (line 37) | func initDevConfig(c framework.Container) *devConfig { type Proxy (line 84) | type Proxy struct method newProxyReverseProxy (line 99) | func (p *Proxy) newProxyReverseProxy(frontend, backend *url.URL) *http... method rebuildBackend (line 147) | func (p *Proxy) rebuildBackend() error { method restartBackend (line 162) | func (p *Proxy) restartBackend() error { method restartFrontend (line 188) | func (p *Proxy) restartFrontend() error { method startProxy (line 221) | func (p *Proxy) startProxy(startFrontend, startBackend bool) error { method monitorBackend (line 263) | func (p *Proxy) monitorBackend() error { function NewProxy (line 91) | func NewProxy(c framework.Container) *Proxy { function initDevCommand (line 325) | func initDevCommand() *cobra.Command { FILE: framework/command/env.go function initEnvCommand (line 12) | func initEnvCommand() *cobra.Command { FILE: framework/command/kernel.go function AddKernelCommands (line 8) | func AddKernelCommands(root *cobra.Command) { FILE: framework/command/middleware.go function initMiddlewareCommand (line 23) | func initMiddlewareCommand() *cobra.Command { FILE: framework/command/new.go function initNewCommand (line 22) | func initNewCommand() *cobra.Command { FILE: framework/command/provider.go function initProviderCommand (line 21) | func initProviderCommand() *cobra.Command { FILE: framework/command/swagger.go function initSwaggerCommand (line 11) | func initSwaggerCommand() *cobra.Command { FILE: framework/container.go type Container (line 11) | type Container interface type HadeContainer (line 29) | type HadeContainer struct method PrintProviders (line 49) | func (hade *HadeContainer) PrintProviders() []string { method Bind (line 61) | func (hade *HadeContainer) Bind(provider ServiceProvider) error { method IsBind (line 86) | func (hade *HadeContainer) IsBind(key string) bool { method findServiceProvider (line 90) | func (hade *HadeContainer) findServiceProvider(key string) ServiceProv... method Make (line 99) | func (hade *HadeContainer) Make(key string) (interface{}, error) { method MustMake (line 103) | func (hade *HadeContainer) MustMake(key string) interface{} { method MakeNew (line 111) | func (hade *HadeContainer) MakeNew(key string, params []interface{}) (... method newInstance (line 115) | func (hade *HadeContainer) newInstance(sp ServiceProvider, params []in... method make (line 132) | func (hade *HadeContainer) make(key string, params []interface{}, forc... method NameList (line 161) | func (hade *HadeContainer) NameList() []string { function NewHadeContainer (line 40) | func NewHadeContainer() *HadeContainer { FILE: framework/contract/app.go constant AppKey (line 4) | AppKey = "hade:app" type App (line 7) | type App interface FILE: framework/contract/cache.go constant CacheKey (line 9) | CacheKey = "hade:cache" type RememberFunc (line 12) | type RememberFunc type CacheService (line 15) | type CacheService interface FILE: framework/contract/config.go constant ConfigKey (line 7) | ConfigKey = "hade:config" type Config (line 13) | type Config interface FILE: framework/contract/distributed.go constant DistributedKey (line 6) | DistributedKey = "hade:distributed" type Distributed (line 9) | type Distributed interface FILE: framework/contract/env.go constant EnvProduction (line 5) | EnvProduction = "production" constant EnvTesting (line 7) | EnvTesting = "testing" constant EnvDevelopment (line 9) | EnvDevelopment = "development" constant EnvKey (line 12) | EnvKey = "hade:env" type Env (line 16) | type Env interface FILE: framework/contract/id.go constant IDKey (line 3) | IDKey = "hade:id" type IDService (line 5) | type IDService interface FILE: framework/contract/kernel.go constant KernelKey (line 7) | KernelKey = "hade:kernel" type Kernel (line 10) | type Kernel interface FILE: framework/contract/log.go constant LogKey (line 9) | LogKey = "hade:log" type LogLevel (line 11) | type LogLevel constant UnknownLevel (line 15) | UnknownLevel LogLevel = iota constant PanicLevel (line 17) | PanicLevel constant FatalLevel (line 19) | FatalLevel constant ErrorLevel (line 21) | ErrorLevel constant WarnLevel (line 23) | WarnLevel constant InfoLevel (line 25) | InfoLevel constant DebugLevel (line 27) | DebugLevel constant TraceLevel (line 29) | TraceLevel type CtxFielder (line 33) | type CtxFielder type Formatter (line 36) | type Formatter type Log (line 39) | type Log interface FILE: framework/contract/orm.go constant ORMKey (line 13) | ORMKey = "hade:orm" type ORMService (line 16) | type ORMService interface type DBOption (line 21) | type DBOption type DBConfig (line 24) | type DBConfig struct method FormatDsn (line 53) | func (conf *DBConfig) FormatDsn() (string, error) { FILE: framework/contract/redis.go constant RedisKey (line 9) | RedisKey = "hade:redis" type RedisOption (line 12) | type RedisOption type RedisService (line 15) | type RedisService interface type RedisConfig (line 21) | type RedisConfig struct method UniqKey (line 26) | func (config *RedisConfig) UniqKey() string { FILE: framework/contract/ssh.go constant SSHKey (line 9) | SSHKey = "hade:ssh" type SSHOption (line 12) | type SSHOption type SSHService (line 15) | type SSHService interface type SSHConfig (line 21) | type SSHConfig struct method UniqKey (line 29) | func (config *SSHConfig) UniqKey() string { FILE: framework/contract/trace.go constant TraceKey (line 8) | TraceKey = "hade:trace" constant TraceKeyTraceID (line 11) | TraceKeyTraceID = "trace_id" constant TraceKeySpanID (line 12) | TraceKeySpanID = "span_id" constant TraceKeyCspanID (line 13) | TraceKeyCspanID = "cspan_id" constant TraceKeyParentID (line 14) | TraceKeyParentID = "parent_id" constant TraceKeyMethod (line 15) | TraceKeyMethod = "method" constant TraceKeyCaller (line 16) | TraceKeyCaller = "caller" constant TraceKeyTime (line 17) | TraceKeyTime = "time" type TraceContext (line 21) | type TraceContext struct type Trace (line 30) | type Trace interface FILE: framework/gin/auth.go constant AuthUserKey (line 17) | AuthUserKey = "user" type Accounts (line 20) | type Accounts type authPair (line 22) | type authPair struct type authPairs (line 27) | type authPairs method searchCredential (line 29) | func (a authPairs) searchCredential(authValue string) (string, bool) { function BasicAuthForRealm (line 45) | func BasicAuthForRealm(accounts Accounts, realm string) HandlerFunc { function BasicAuth (line 69) | func BasicAuth(accounts Accounts) HandlerFunc { function processAccounts (line 73) | func processAccounts(accounts Accounts) authPairs { function authorizationHeader (line 88) | func authorizationHeader(user, password string) string { FILE: framework/gin/auth_test.go function TestBasicAuth (line 16) | func TestBasicAuth(t *testing.T) { function TestBasicAuthFails (line 38) | func TestBasicAuthFails(t *testing.T) { function TestBasicAuthSearchCredential (line 48) | func TestBasicAuthSearchCredential(t *testing.T) { function TestBasicAuthAuthorizationHeader (line 80) | func TestBasicAuthAuthorizationHeader(t *testing.T) { function TestBasicAuthSucceed (line 84) | func TestBasicAuthSucceed(t *testing.T) { function TestBasicAuth401 (line 101) | func TestBasicAuth401(t *testing.T) { function TestBasicAuth401WithCustomRealm (line 121) | func TestBasicAuth401WithCustomRealm(t *testing.T) { FILE: framework/gin/benchmarks_test.go function BenchmarkOneRoute (line 14) | func BenchmarkOneRoute(B *testing.B) { function BenchmarkRecoveryMiddleware (line 20) | func BenchmarkRecoveryMiddleware(B *testing.B) { function BenchmarkLoggerMiddleware (line 27) | func BenchmarkLoggerMiddleware(B *testing.B) { function BenchmarkManyHandlers (line 34) | func BenchmarkManyHandlers(B *testing.B) { function Benchmark5Params (line 43) | func Benchmark5Params(B *testing.B) { function BenchmarkOneRouteJSON (line 51) | func BenchmarkOneRouteJSON(B *testing.B) { function BenchmarkOneRouteHTML (line 62) | func BenchmarkOneRouteHTML(B *testing.B) { function BenchmarkOneRouteSet (line 74) | func BenchmarkOneRouteSet(B *testing.B) { function BenchmarkOneRouteString (line 82) | func BenchmarkOneRouteString(B *testing.B) { function BenchmarkManyRoutesFist (line 90) | func BenchmarkManyRoutesFist(B *testing.B) { function BenchmarkManyRoutesLast (line 96) | func BenchmarkManyRoutesLast(B *testing.B) { function Benchmark404 (line 102) | func Benchmark404(B *testing.B) { function Benchmark404Many (line 109) | func Benchmark404Many(B *testing.B) { type mockWriter (line 124) | type mockWriter struct method Header (line 134) | func (m *mockWriter) Header() (h http.Header) { method Write (line 138) | func (m *mockWriter) Write(p []byte) (n int, err error) { method WriteString (line 142) | func (m *mockWriter) WriteString(s string) (n int, err error) { method WriteHeader (line 146) | func (m *mockWriter) WriteHeader(int) {} function newMockWriter (line 128) | func newMockWriter() *mockWriter { function runRequest (line 148) | func runRequest(B *testing.B, r *Engine, method, path string) { FILE: framework/gin/binding/binding.go constant MIMEJSON (line 14) | MIMEJSON = "application/json" constant MIMEHTML (line 15) | MIMEHTML = "text/html" constant MIMEXML (line 16) | MIMEXML = "application/xml" constant MIMEXML2 (line 17) | MIMEXML2 = "text/xml" constant MIMEPlain (line 18) | MIMEPlain = "text/plain" constant MIMEPOSTForm (line 19) | MIMEPOSTForm = "application/x-www-form-urlencoded" constant MIMEMultipartPOSTForm (line 20) | MIMEMultipartPOSTForm = "multipart/form-data" constant MIMEPROTOBUF (line 21) | MIMEPROTOBUF = "application/x-protobuf" constant MIMEMSGPACK (line 22) | MIMEMSGPACK = "application/x-msgpack" constant MIMEMSGPACK2 (line 23) | MIMEMSGPACK2 = "application/msgpack" constant MIMEYAML (line 24) | MIMEYAML = "application/x-yaml" type Binding (line 30) | type Binding interface type BindingBody (line 37) | type BindingBody interface type BindingUri (line 44) | type BindingUri interface type StructValidator (line 53) | type StructValidator interface function Default (line 90) | func Default(method, contentType string) Binding { function validate (line 113) | func validate(obj interface{}) error { FILE: framework/gin/binding/binding_msgpack_test.go function TestBindingMsgPack (line 18) | func TestBindingMsgPack(t *testing.T) { function testMsgPackBodyBinding (line 38) | func testMsgPackBodyBinding(t *testing.T, b Binding, name, path, badPath... function TestBindingDefaultMsgPack (line 55) | func TestBindingDefaultMsgPack(t *testing.T) { FILE: framework/gin/binding/binding_nomsgpack.go constant MIMEJSON (line 14) | MIMEJSON = "application/json" constant MIMEHTML (line 15) | MIMEHTML = "text/html" constant MIMEXML (line 16) | MIMEXML = "application/xml" constant MIMEXML2 (line 17) | MIMEXML2 = "text/xml" constant MIMEPlain (line 18) | MIMEPlain = "text/plain" constant MIMEPOSTForm (line 19) | MIMEPOSTForm = "application/x-www-form-urlencoded" constant MIMEMultipartPOSTForm (line 20) | MIMEMultipartPOSTForm = "multipart/form-data" constant MIMEPROTOBUF (line 21) | MIMEPROTOBUF = "application/x-protobuf" constant MIMEYAML (line 22) | MIMEYAML = "application/x-yaml" type Binding (line 28) | type Binding interface type BindingBody (line 35) | type BindingBody interface type BindingUri (line 42) | type BindingUri interface type StructValidator (line 51) | type StructValidator interface function Default (line 86) | func Default(method, contentType string) Binding { function validate (line 107) | func validate(obj interface{}) error { FILE: framework/gin/binding/binding_test.go type appkey (line 27) | type appkey struct type QueryTest (line 31) | type QueryTest struct type FooStruct (line 37) | type FooStruct struct type FooBarStruct (line 41) | type FooBarStruct struct type FooBarFileStruct (line 46) | type FooBarFileStruct struct type FooBarFileFailStruct (line 51) | type FooBarFileFailStruct struct type FooDefaultBarStruct (line 58) | type FooDefaultBarStruct struct type FooStructUseNumber (line 63) | type FooStructUseNumber struct type FooStructDisallowUnknownFields (line 67) | type FooStructDisallowUnknownFields struct type FooBarStructForTimeType (line 71) | type FooBarStructForTimeType struct type FooStructForTimeTypeNotUnixFormat (line 78) | type FooStructForTimeTypeNotUnixFormat struct type FooStructForTimeTypeNotFormat (line 83) | type FooStructForTimeTypeNotFormat struct type FooStructForTimeTypeFailFormat (line 87) | type FooStructForTimeTypeFailFormat struct type FooStructForTimeTypeFailLocation (line 91) | type FooStructForTimeTypeFailLocation struct type FooStructForMapType (line 95) | type FooStructForMapType struct type FooStructForIgnoreFormTag (line 99) | type FooStructForIgnoreFormTag struct type InvalidNameType (line 103) | type InvalidNameType struct type InvalidNameMapType (line 107) | type InvalidNameMapType struct type FooStructForSliceType (line 113) | type FooStructForSliceType struct type FooStructForStructType (line 117) | type FooStructForStructType struct type FooStructForStructPointerType (line 123) | type FooStructForStructPointerType struct type FooStructForSliceMapType (line 129) | type FooStructForSliceMapType struct type FooStructForBoolType (line 134) | type FooStructForBoolType struct type FooStructForStringPtrType (line 138) | type FooStructForStringPtrType struct type FooStructForMapPtrType (line 143) | type FooStructForMapPtrType struct function TestBindingDefault (line 147) | func TestBindingDefault(t *testing.T) { function TestBindingJSONNilBody (line 170) | func TestBindingJSONNilBody(t *testing.T) { function TestBindingJSON (line 177) | func TestBindingJSON(t *testing.T) { function TestBindingJSONSlice (line 184) | func TestBindingJSONSlice(t *testing.T) { function TestBindingJSONUseNumber (line 198) | func TestBindingJSONUseNumber(t *testing.T) { function TestBindingJSONUseNumber2 (line 205) | func TestBindingJSONUseNumber2(t *testing.T) { function TestBindingJSONDisallowUnknownFields (line 212) | func TestBindingJSONDisallowUnknownFields(t *testing.T) { function TestBindingJSONStringMap (line 218) | func TestBindingJSONStringMap(t *testing.T) { function TestBindingForm (line 224) | func TestBindingForm(t *testing.T) { function TestBindingForm2 (line 230) | func TestBindingForm2(t *testing.T) { function TestBindingFormEmbeddedStruct (line 236) | func TestBindingFormEmbeddedStruct(t *testing.T) { function TestBindingFormEmbeddedStruct2 (line 242) | func TestBindingFormEmbeddedStruct2(t *testing.T) { function TestBindingFormDefaultValue (line 248) | func TestBindingFormDefaultValue(t *testing.T) { function TestBindingFormDefaultValue2 (line 254) | func TestBindingFormDefaultValue2(t *testing.T) { function TestBindingFormForTime (line 260) | func TestBindingFormForTime(t *testing.T) { function TestBindingFormForTime2 (line 278) | func TestBindingFormForTime2(t *testing.T) { function TestFormBindingIgnoreField (line 296) | func TestFormBindingIgnoreField(t *testing.T) { function TestBindingFormInvalidName (line 302) | func TestBindingFormInvalidName(t *testing.T) { function TestBindingFormInvalidName2 (line 308) | func TestBindingFormInvalidName2(t *testing.T) { function TestBindingFormForType (line 314) | func TestBindingFormForType(t *testing.T) { function TestBindingFormStringMap (line 360) | func TestBindingFormStringMap(t *testing.T) { function TestBindingFormStringSliceMap (line 370) | func TestBindingFormStringSliceMap(t *testing.T) { function TestBindingQuery (line 391) | func TestBindingQuery(t *testing.T) { function TestBindingQuery2 (line 397) | func TestBindingQuery2(t *testing.T) { function TestBindingQueryFail (line 403) | func TestBindingQueryFail(t *testing.T) { function TestBindingQueryFail2 (line 409) | func TestBindingQueryFail2(t *testing.T) { function TestBindingQueryBoolFail (line 415) | func TestBindingQueryBoolFail(t *testing.T) { function TestBindingQueryStringMap (line 421) | func TestBindingQueryStringMap(t *testing.T) { function TestBindingXML (line 443) | func TestBindingXML(t *testing.T) { function TestBindingXMLFail (line 450) | func TestBindingXMLFail(t *testing.T) { function TestBindingYAML (line 457) | func TestBindingYAML(t *testing.T) { function TestBindingYAMLStringMap (line 464) | func TestBindingYAMLStringMap(t *testing.T) { function TestBindingYAMLFail (line 471) | func TestBindingYAMLFail(t *testing.T) { function createFormPostRequest (line 478) | func createFormPostRequest(t *testing.T) *http.Request { function createDefaultFormPostRequest (line 485) | func createDefaultFormPostRequest(t *testing.T) *http.Request { function createFormPostRequestForMap (line 492) | func createFormPostRequestForMap(t *testing.T) *http.Request { function createFormPostRequestForMapFail (line 499) | func createFormPostRequestForMapFail(t *testing.T) *http.Request { function createFormFilesMultipartRequest (line 506) | func createFormFilesMultipartRequest(t *testing.T) *http.Request { function createFormFilesMultipartRequestFail (line 531) | func createFormFilesMultipartRequestFail(t *testing.T) *http.Request { function createFormMultipartRequest (line 556) | func createFormMultipartRequest(t *testing.T) *http.Request { function createFormMultipartRequestForMap (line 571) | func createFormMultipartRequestForMap(t *testing.T) *http.Request { function createFormMultipartRequestForMapFail (line 585) | func createFormMultipartRequestForMapFail(t *testing.T) *http.Request { function TestBindingFormPost (line 599) | func TestBindingFormPost(t *testing.T) { function TestBindingDefaultValueFormPost (line 609) | func TestBindingDefaultValueFormPost(t *testing.T) { function TestBindingFormPostForMap (line 618) | func TestBindingFormPostForMap(t *testing.T) { function TestBindingFormPostForMapFail (line 626) | func TestBindingFormPostForMapFail(t *testing.T) { function TestBindingFormFilesMultipart (line 633) | func TestBindingFormFilesMultipart(t *testing.T) { function TestBindingFormFilesMultipartFail (line 655) | func TestBindingFormFilesMultipartFail(t *testing.T) { function TestBindingFormMultipart (line 662) | func TestBindingFormMultipart(t *testing.T) { function TestBindingFormMultipartForMap (line 672) | func TestBindingFormMultipartForMap(t *testing.T) { function TestBindingFormMultipartForMapFail (line 682) | func TestBindingFormMultipartForMapFail(t *testing.T) { function TestBindingProtoBuf (line 689) | func TestBindingProtoBuf(t *testing.T) { function TestBindingProtoBufFail (line 701) | func TestBindingProtoBufFail(t *testing.T) { function TestValidationFails (line 713) | func TestValidationFails(t *testing.T) { function TestValidationDisabled (line 720) | func TestValidationDisabled(t *testing.T) { function TestRequiredSucceeds (line 731) | func TestRequiredSucceeds(t *testing.T) { function TestRequiredFails (line 742) | func TestRequiredFails(t *testing.T) { function TestHeaderBinding (line 753) | func TestHeaderBinding(t *testing.T) { function TestUriBinding (line 778) | func TestUriBinding(t *testing.T) { function TestUriInnerBinding (line 799) | func TestUriInnerBinding(t *testing.T) { function testFormBindingEmbeddedStruct (line 821) | func testFormBindingEmbeddedStruct(t *testing.T, method, path, badPath, ... function testFormBinding (line 838) | func testFormBinding(t *testing.T, method, path, badPath, body, badBody ... function testFormBindingDefaultValue (line 858) | func testFormBindingDefaultValue(t *testing.T, method, path, badPath, bo... function TestFormBindingFail (line 878) | func TestFormBindingFail(t *testing.T) { function TestFormBindingMultipartFail (line 888) | func TestFormBindingMultipartFail(t *testing.T) { function TestFormPostBindingFail (line 899) | func TestFormPostBindingFail(t *testing.T) { function TestFormMultipartBindingFail (line 909) | func TestFormMultipartBindingFail(t *testing.T) { function testFormBindingForTime (line 919) | func testFormBindingForTime(t *testing.T, method, path, badPath, body, b... function testFormBindingForTimeNotUnixFormat (line 944) | func testFormBindingForTimeNotUnixFormat(t *testing.T, method, path, bad... function testFormBindingForTimeNotFormat (line 962) | func testFormBindingForTimeNotFormat(t *testing.T, method, path, badPath... function testFormBindingForTimeFailFormat (line 980) | func testFormBindingForTimeFailFormat(t *testing.T, method, path, badPat... function testFormBindingForTimeFailLocation (line 998) | func testFormBindingForTimeFailLocation(t *testing.T, method, path, badP... function testFormBindingIgnoreField (line 1016) | func testFormBindingIgnoreField(t *testing.T, method, path, badPath, bod... function testFormBindingInvalidName (line 1031) | func testFormBindingInvalidName(t *testing.T, method, path, badPath, bod... function testFormBindingInvalidName2 (line 1050) | func testFormBindingInvalidName2(t *testing.T, method, path, badPath, bo... function testFormBindingForType (line 1068) | func testFormBindingForType(t *testing.T, method, path, badPath, body, b... function testQueryBinding (line 1142) | func testQueryBinding(t *testing.T, method, path, badPath, body, badBody... function testQueryBindingFail (line 1157) | func testQueryBindingFail(t *testing.T, method, path, badPath, body, bad... function testQueryBindingBoolFail (line 1170) | func testQueryBindingBoolFail(t *testing.T, method, path, badPath, body,... function testBodyBinding (line 1183) | func testBodyBinding(t *testing.T, b Binding, name, path, badPath, body,... function testBodyBindingSlice (line 1198) | func testBodyBindingSlice(t *testing.T, b Binding, name, path, badPath, ... function testBodyBindingStringMap (line 1212) | func testBodyBindingStringMap(t *testing.T, b Binding, path, badPath, bo... function testBodyBindingUseNumber (line 1238) | func testBodyBindingUseNumber(t *testing.T, b Binding, name, path, badPa... function testBodyBindingUseNumber2 (line 1257) | func testBodyBindingUseNumber2(t *testing.T, b Binding, name, path, badP... function testBodyBindingDisallowUnknownFields (line 1275) | func testBodyBindingDisallowUnknownFields(t *testing.T, b Binding, path,... function testBodyBindingFail (line 1294) | func testBodyBindingFail(t *testing.T, b Binding, name, path, badPath, b... function testProtoBodyBinding (line 1309) | func testProtoBodyBinding(t *testing.T, b Binding, name, path, badPath, ... type hook (line 1326) | type hook struct method Read (line 1328) | func (h hook) Read([]byte) (int, error) { function testProtoBodyBindingFail (line 1332) | func testProtoBodyBindingFail(t *testing.T, b Binding, name, path, badPa... function requestWithBody (line 1350) | func requestWithBody(method, path, body string) (req *http.Request) { FILE: framework/gin/binding/default_validator.go type defaultValidator (line 16) | type defaultValidator struct method ValidateStruct (line 37) | func (v *defaultValidator) ValidateStruct(obj interface{}) error { method validateStruct (line 66) | func (v *defaultValidator) validateStruct(obj interface{}) error { method Engine (line 75) | func (v *defaultValidator) Engine() interface{} { method lazyinit (line 80) | func (v *defaultValidator) lazyinit() { type sliceValidateError (line 21) | type sliceValidateError method Error (line 23) | func (err sliceValidateError) Error() string { FILE: framework/gin/binding/default_validator_test.go function TestSliceValidateError (line 12) | func TestSliceValidateError(t *testing.T) { function TestDefaultValidator (line 29) | func TestDefaultValidator(t *testing.T) { FILE: framework/gin/binding/form.go constant defaultMemory (line 11) | defaultMemory = 32 << 20 type formBinding (line 13) | type formBinding struct method Name (line 17) | func (formBinding) Name() string { method Bind (line 21) | func (formBinding) Bind(req *http.Request, obj interface{}) error { type formPostBinding (line 14) | type formPostBinding struct method Name (line 36) | func (formPostBinding) Name() string { method Bind (line 40) | func (formPostBinding) Bind(req *http.Request, obj interface{}) error { type formMultipartBinding (line 15) | type formMultipartBinding struct method Name (line 50) | func (formMultipartBinding) Name() string { method Bind (line 54) | func (formMultipartBinding) Bind(req *http.Request, obj interface{}) e... FILE: framework/gin/binding/form_mapping.go function mapUri (line 21) | func mapUri(ptr interface{}, m map[string][]string) error { function mapForm (line 25) | func mapForm(ptr interface{}, form map[string][]string) error { function mapFormByTag (line 31) | func mapFormByTag(ptr interface{}, form map[string][]string, tag string)... type setter (line 51) | type setter interface type formSource (line 55) | type formSource method TrySet (line 60) | func (form formSource) TrySet(value reflect.Value, field reflect.Struc... function mappingByPtr (line 64) | func mappingByPtr(ptr interface{}, setter setter, tag string) error { function mapping (line 69) | func mapping(value reflect.Value, field reflect.StructField, setter sett... type setOptions (line 123) | type setOptions struct function tryToSetValue (line 128) | func tryToSetValue(value reflect.Value, field reflect.StructField, sette... function setByForm (line 155) | func setByForm(value reflect.Value, field reflect.StructField, form map[... function setWithProperType (line 188) | func setWithProperType(val string, value reflect.Value, field reflect.St... function setIntField (line 236) | func setIntField(val string, bitSize int, field reflect.Value) error { function setUintField (line 247) | func setUintField(val string, bitSize int, field reflect.Value) error { function setBoolField (line 258) | func setBoolField(val string, field reflect.Value) error { function setFloatField (line 269) | func setFloatField(val string, bitSize int, field reflect.Value) error { function setTimeField (line 280) | func setTimeField(val string, structField reflect.StructField, value ref... function setArray (line 331) | func setArray(vals []string, value reflect.Value, field reflect.StructFi... function setSlice (line 341) | func setSlice(vals []string, value reflect.Value, field reflect.StructFi... function setTimeDuration (line 351) | func setTimeDuration(val string, value reflect.Value, field reflect.Stru... function head (line 360) | func head(str, sep string) (head string, tail string) { function setFormMap (line 368) | func setFormMap(ptr interface{}, form map[string][]string) error { FILE: framework/gin/binding/form_mapping_benchmark_test.go type structFull (line 21) | type structFull struct function BenchmarkMapFormFull (line 32) | func BenchmarkMapFormFull(b *testing.B) { type structName (line 51) | type structName struct function BenchmarkMapFormName (line 55) | func BenchmarkMapFormName(b *testing.B) { FILE: framework/gin/binding/form_mapping_test.go function TestMappingBaseTypes (line 15) | func TestMappingBaseTypes(t *testing.T) { function TestMappingDefault (line 63) | func TestMappingDefault(t *testing.T) { function TestMappingSkipField (line 77) | func TestMappingSkipField(t *testing.T) { function TestMappingIgnoreField (line 87) | func TestMappingIgnoreField(t *testing.T) { function TestMappingUnexportedField (line 99) | func TestMappingUnexportedField(t *testing.T) { function TestMappingPrivateField (line 111) | func TestMappingPrivateField(t *testing.T) { function TestMappingUnknownFieldType (line 120) | func TestMappingUnknownFieldType(t *testing.T) { function TestMappingURI (line 130) | func TestMappingURI(t *testing.T) { function TestMappingForm (line 139) | func TestMappingForm(t *testing.T) { function TestMappingTime (line 148) | func TestMappingTime(t *testing.T) { function TestMappingTimeDuration (line 193) | func TestMappingTimeDuration(t *testing.T) { function TestMappingSlice (line 208) | func TestMappingSlice(t *testing.T) { function TestMappingArray (line 228) | func TestMappingArray(t *testing.T) { function TestMappingStructField (line 251) | func TestMappingStructField(t *testing.T) { function TestMappingMapField (line 263) | func TestMappingMapField(t *testing.T) { function TestMappingIgnoredCircularRef (line 273) | func TestMappingIgnoredCircularRef(t *testing.T) { FILE: framework/gin/binding/header.go type headerBinding (line 9) | type headerBinding struct method Name (line 11) | func (headerBinding) Name() string { method Bind (line 15) | func (headerBinding) Bind(req *http.Request, obj interface{}) error { function mapHeader (line 24) | func mapHeader(ptr interface{}, h map[string][]string) error { type headerSource (line 28) | type headerSource method TrySet (line 32) | func (hs headerSource) TrySet(value reflect.Value, field reflect.Struc... FILE: framework/gin/binding/json.go type jsonBinding (line 27) | type jsonBinding struct method Name (line 29) | func (jsonBinding) Name() string { method Bind (line 33) | func (jsonBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 40) | func (jsonBinding) BindBody(body []byte, obj interface{}) error { function decodeJSON (line 44) | func decodeJSON(r io.Reader, obj interface{}) error { FILE: framework/gin/binding/json_test.go function TestJSONBindingBindBody (line 14) | func TestJSONBindingBindBody(t *testing.T) { function TestJSONBindingBindBodyMap (line 23) | func TestJSONBindingBindBodyMap(t *testing.T) { FILE: framework/gin/binding/msgpack.go type msgpackBinding (line 18) | type msgpackBinding struct method Name (line 20) | func (msgpackBinding) Name() string { method Bind (line 24) | func (msgpackBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 28) | func (msgpackBinding) BindBody(body []byte, obj interface{}) error { function decodeMsgPack (line 32) | func decodeMsgPack(r io.Reader, obj interface{}) error { FILE: framework/gin/binding/msgpack_test.go function TestMsgpackBindingBindBody (line 19) | func TestMsgpackBindingBindBody(t *testing.T) { function msgpackBody (line 29) | func msgpackBody(t *testing.T, obj interface{}) []byte { FILE: framework/gin/binding/multipart_form_mapping.go type multipartRequest (line 14) | type multipartRequest method TrySet (line 19) | func (r *multipartRequest) TrySet(value reflect.Value, field reflect.S... function setByMultipartFormFile (line 27) | func setByMultipartFormFile(value reflect.Value, field reflect.StructFie... function setArrayOfMultipartFormFiles (line 55) | func setArrayOfMultipartFormFiles(value reflect.Value, field reflect.Str... FILE: framework/gin/binding/multipart_form_mapping_test.go function TestFormMultipartBindingBindOneFile (line 17) | func TestFormMultipartBindingBindOneFile(t *testing.T) { function TestFormMultipartBindingBindTwoFiles (line 42) | func TestFormMultipartBindingBindTwoFiles(t *testing.T) { function TestFormMultipartBindingBindError (line 71) | func TestFormMultipartBindingBindError(t *testing.T) { type testFile (line 97) | type testFile struct function createRequestMultipartFiles (line 103) | func createRequestMultipartFiles(t *testing.T, files ...testFile) *http.... function assertMultipartFileHeader (line 125) | func assertMultipartFileHeader(t *testing.T, fh *multipart.FileHeader, f... FILE: framework/gin/binding/protobuf.go type protobufBinding (line 14) | type protobufBinding struct method Name (line 16) | func (protobufBinding) Name() string { method Bind (line 20) | func (b protobufBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 28) | func (protobufBinding) BindBody(body []byte, obj interface{}) error { FILE: framework/gin/binding/query.go type queryBinding (line 9) | type queryBinding struct method Name (line 11) | func (queryBinding) Name() string { method Bind (line 15) | func (queryBinding) Bind(req *http.Request, obj interface{}) error { FILE: framework/gin/binding/uri.go type uriBinding (line 7) | type uriBinding struct method Name (line 9) | func (uriBinding) Name() string { method BindUri (line 13) | func (uriBinding) BindUri(m map[string][]string, obj interface{}) error { FILE: framework/gin/binding/validate_test.go type testInterface (line 16) | type testInterface interface type substructNoValidation (line 20) | type substructNoValidation struct type mapNoValidationSub (line 25) | type mapNoValidationSub type structNoValidationValues (line 27) | type structNoValidationValues struct function createNoValidationValues (line 69) | func createNoValidationValues() structNoValidationValues { function TestValidateNoValidationValues (line 111) | func TestValidateNoValidationValues(t *testing.T) { type structNoValidationPointer (line 124) | type structNoValidationPointer struct function TestValidateNoValidationPointers (line 159) | func TestValidateNoValidationPointers(t *testing.T) { type Object (line 172) | type Object function TestValidatePrimitives (line 174) | func TestValidatePrimitives(t *testing.T) { type structCustomValidation (line 198) | type structCustomValidation struct function notOne (line 202) | func notOne(f1 validator.FieldLevel) bool { function TestValidatorEngine (line 209) | func TestValidatorEngine(t *testing.T) { FILE: framework/gin/binding/xml.go type xmlBinding (line 14) | type xmlBinding struct method Name (line 16) | func (xmlBinding) Name() string { method Bind (line 20) | func (xmlBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 24) | func (xmlBinding) BindBody(body []byte, obj interface{}) error { function decodeXML (line 27) | func decodeXML(r io.Reader, obj interface{}) error { FILE: framework/gin/binding/xml_test.go function TestXMLBindingBindBody (line 14) | func TestXMLBindingBindBody(t *testing.T) { FILE: framework/gin/binding/yaml.go type yamlBinding (line 15) | type yamlBinding struct method Name (line 17) | func (yamlBinding) Name() string { method Bind (line 21) | func (yamlBinding) Bind(req *http.Request, obj interface{}) error { method BindBody (line 25) | func (yamlBinding) BindBody(body []byte, obj interface{}) error { function decodeYAML (line 29) | func decodeYAML(r io.Reader, obj interface{}) error { FILE: framework/gin/binding/yaml_test.go function TestYAMLBindingBindBody (line 14) | func TestYAMLBindingBindBody(t *testing.T) { FILE: framework/gin/context.go constant MIMEJSON (line 31) | MIMEJSON = binding.MIMEJSON constant MIMEHTML (line 32) | MIMEHTML = binding.MIMEHTML constant MIMEXML (line 33) | MIMEXML = binding.MIMEXML constant MIMEXML2 (line 34) | MIMEXML2 = binding.MIMEXML2 constant MIMEPlain (line 35) | MIMEPlain = binding.MIMEPlain constant MIMEPOSTForm (line 36) | MIMEPOSTForm = binding.MIMEPOSTForm constant MIMEMultipartPOSTForm (line 37) | MIMEMultipartPOSTForm = binding.MIMEMultipartPOSTForm constant MIMEYAML (line 38) | MIMEYAML = binding.MIMEYAML constant BodyBytesKey (line 42) | BodyBytesKey = "_gin-gonic/gin/bodybyteskey" constant abortIndex (line 44) | abortIndex int8 = math.MaxInt8 / 2 type Context (line 48) | type Context struct method reset (line 92) | func (c *Context) reset() { method Copy (line 109) | func (c *Context) Copy() *Context { method HandlerName (line 132) | func (c *Context) HandlerName() string { method HandlerNames (line 138) | func (c *Context) HandlerNames() []string { method Handler (line 147) | func (c *Context) Handler() HandlerFunc { method FullPath (line 156) | func (c *Context) FullPath() string { method Next (line 167) | func (c *Context) Next() { method IsAborted (line 176) | func (c *Context) IsAborted() bool { method Abort (line 184) | func (c *Context) Abort() { method AbortWithStatus (line 190) | func (c *Context) AbortWithStatus(code int) { method AbortWithStatusJSON (line 199) | func (c *Context) AbortWithStatusJSON(code int, jsonObj interface{}) { method AbortWithError (line 207) | func (c *Context) AbortWithError(code int, err error) *Error { method Error (line 221) | func (c *Context) Error(err error) *Error { method Set (line 244) | func (c *Context) Set(key string, value interface{}) { method Get (line 256) | func (c *Context) Get(key string) (value interface{}, exists bool) { method MustGet (line 264) | func (c *Context) MustGet(key string) interface{} { method GetString (line 272) | func (c *Context) GetString(key string) (s string) { method GetBool (line 280) | func (c *Context) GetBool(key string) (b bool) { method GetInt (line 288) | func (c *Context) GetInt(key string) (i int) { method GetInt64 (line 296) | func (c *Context) GetInt64(key string) (i64 int64) { method GetUint (line 304) | func (c *Context) GetUint(key string) (ui uint) { method GetUint64 (line 312) | func (c *Context) GetUint64(key string) (ui64 uint64) { method GetFloat64 (line 320) | func (c *Context) GetFloat64(key string) (f64 float64) { method GetTime (line 328) | func (c *Context) GetTime(key string) (t time.Time) { method GetDuration (line 336) | func (c *Context) GetDuration(key string) (d time.Duration) { method GetStringSlice (line 344) | func (c *Context) GetStringSlice(key string) (ss []string) { method GetStringMap (line 352) | func (c *Context) GetStringMap(key string) (sm map[string]interface{}) { method GetStringMapString (line 360) | func (c *Context) GetStringMapString(key string) (sms map[string]strin... method GetStringMapStringSlice (line 368) | func (c *Context) GetStringMapStringSlice(key string) (smss map[string... method Param (line 385) | func (c *Context) Param(key string) string { method Query (line 397) | func (c *Context) Query(key string) string { method DefaultQuery (line 409) | func (c *Context) DefaultQuery(key, defaultValue string) string { method GetQuery (line 424) | func (c *Context) GetQuery(key string) (string, bool) { method QueryArray (line 433) | func (c *Context) QueryArray(key string) []string { method initQueryCache (line 438) | func (c *Context) initQueryCache() { method GetQueryArray (line 450) | func (c *Context) GetQueryArray(key string) ([]string, bool) { method QueryMap (line 459) | func (c *Context) QueryMap(key string) map[string]string { method GetQueryMap (line 466) | func (c *Context) GetQueryMap(key string) (map[string]string, bool) { method PostForm (line 473) | func (c *Context) PostForm(key string) string { method DefaultPostForm (line 481) | func (c *Context) DefaultPostForm(key, defaultValue string) string { method GetPostForm (line 495) | func (c *Context) GetPostForm(key string) (string, bool) { method PostFormArray (line 504) | func (c *Context) PostFormArray(key string) []string { method initFormCache (line 509) | func (c *Context) initFormCache() { method GetPostFormArray (line 524) | func (c *Context) GetPostFormArray(key string) ([]string, bool) { method PostFormMap (line 533) | func (c *Context) PostFormMap(key string) map[string]string { method GetPostFormMap (line 540) | func (c *Context) GetPostFormMap(key string) (map[string]string, bool) { method get (line 546) | func (c *Context) get(m map[string][]string, key string) (map[string]s... method FormFile (line 561) | func (c *Context) FormFile(name string) (*multipart.FileHeader, error) { method MultipartForm (line 576) | func (c *Context) MultipartForm() (*multipart.Form, error) { method SaveUploadedFile (line 582) | func (c *Context) SaveUploadedFile(file *multipart.FileHeader, dst str... method Bind (line 607) | func (c *Context) Bind(obj interface{}) error { method BindJSON (line 613) | func (c *Context) BindJSON(obj interface{}) error { method BindXML (line 618) | func (c *Context) BindXML(obj interface{}) error { method BindQuery (line 623) | func (c *Context) BindQuery(obj interface{}) error { method BindYAML (line 628) | func (c *Context) BindYAML(obj interface{}) error { method BindHeader (line 633) | func (c *Context) BindHeader(obj interface{}) error { method BindUri (line 639) | func (c *Context) BindUri(obj interface{}) error { method MustBindWith (line 650) | func (c *Context) MustBindWith(obj interface{}, b binding.Binding) err... method ShouldBind (line 666) | func (c *Context) ShouldBind(obj interface{}) error { method ShouldBindJSON (line 672) | func (c *Context) ShouldBindJSON(obj interface{}) error { method ShouldBindXML (line 677) | func (c *Context) ShouldBindXML(obj interface{}) error { method ShouldBindQuery (line 682) | func (c *Context) ShouldBindQuery(obj interface{}) error { method ShouldBindYAML (line 687) | func (c *Context) ShouldBindYAML(obj interface{}) error { method ShouldBindHeader (line 692) | func (c *Context) ShouldBindHeader(obj interface{}) error { method ShouldBindUri (line 697) | func (c *Context) ShouldBindUri(obj interface{}) error { method ShouldBindWith (line 707) | func (c *Context) ShouldBindWith(obj interface{}, b binding.Binding) e... method ShouldBindBodyWith (line 716) | func (c *Context) ShouldBindBodyWith(obj interface{}, bb binding.Bindi... method ClientIP (line 738) | func (c *Context) ClientIP() string { method RemoteIP (line 765) | func (c *Context) RemoteIP() (net.IP, bool) { method ContentType (line 810) | func (c *Context) ContentType() string { method IsWebsocket (line 816) | func (c *Context) IsWebsocket() bool { method requestHeader (line 824) | func (c *Context) requestHeader(key string) string { method Status (line 846) | func (c *Context) Status(code int) { method Header (line 853) | func (c *Context) Header(key, value string) { method GetHeader (line 862) | func (c *Context) GetHeader(key string) string { method GetRawData (line 867) | func (c *Context) GetRawData() ([]byte, error) { method SetSameSite (line 872) | func (c *Context) SetSameSite(samesite http.SameSite) { method SetCookie (line 879) | func (c *Context) SetCookie(name, value string, maxAge int, path, doma... method Cookie (line 899) | func (c *Context) Cookie(name string) (string, error) { method Render (line 909) | func (c *Context) Render(code int, r render.Render) { method HTML (line 926) | func (c *Context) HTML(code int, name string, obj interface{}) { method IndentedJSON (line 935) | func (c *Context) IndentedJSON(code int, obj interface{}) { method SecureJSON (line 942) | func (c *Context) SecureJSON(code int, obj interface{}) { method JSONP (line 949) | func (c *Context) JSONP(code int, obj interface{}) { method JSON (line 960) | func (c *Context) JSON(code int, obj interface{}) { method AsciiJSON (line 966) | func (c *Context) AsciiJSON(code int, obj interface{}) { method PureJSON (line 972) | func (c *Context) PureJSON(code int, obj interface{}) { method XML (line 978) | func (c *Context) XML(code int, obj interface{}) { method YAML (line 983) | func (c *Context) YAML(code int, obj interface{}) { method ProtoBuf (line 988) | func (c *Context) ProtoBuf(code int, obj interface{}) { method String (line 993) | func (c *Context) String(code int, format string, values ...interface{... method Redirect (line 998) | func (c *Context) Redirect(code int, location string) { method Data (line 1007) | func (c *Context) Data(code int, contentType string, data []byte) { method DataFromReader (line 1015) | func (c *Context) DataFromReader(code int, contentLength int64, conten... method File (line 1025) | func (c *Context) File(filepath string) { method FileFromFS (line 1030) | func (c *Context) FileFromFS(filepath string, fs http.FileSystem) { method FileAttachment (line 1042) | func (c *Context) FileAttachment(filepath, filename string) { method SSEvent (line 1048) | func (c *Context) SSEvent(name string, message interface{}) { method Stream (line 1057) | func (c *Context) Stream(step func(w io.Writer) bool) bool { method Negotiate (line 1090) | func (c *Context) Negotiate(code int, config Negotiate) { method NegotiateFormat (line 1114) | func (c *Context) NegotiateFormat(offered ...string) string { method SetAccepted (line 1145) | func (c *Context) SetAccepted(formats ...string) { method Deadline (line 1155) | func (c *Context) Deadline() (deadline time.Time, ok bool) { method Done (line 1162) | func (c *Context) Done() <-chan struct{} { method Err (line 1167) | func (c *Context) Err() error { method Value (line 1174) | func (c *Context) Value(key interface{}) interface{} { function validateHeader (line 786) | func validateHeader(header string) (clientIP string, valid bool) { function bodyAllowedForStatus (line 833) | func bodyAllowedForStatus(status int) bool { type Negotiate (line 1079) | type Negotiate struct FILE: framework/gin/context_appengine.go function init (line 10) | func init() { FILE: framework/gin/context_test.go function createMultipartRequest (line 41) | func createMultipartRequest() *http.Request { function must (line 65) | func must(err error) { function TestContextFormFile (line 71) | func TestContextFormFile(t *testing.T) { function TestContextFormFileFailed (line 91) | func TestContextFormFileFailed(t *testing.T) { function TestContextMultipartForm (line 104) | func TestContextMultipartForm(t *testing.T) { function TestSaveUploadedOpenFailed (line 125) | func TestSaveUploadedOpenFailed(t *testing.T) { function TestSaveUploadedCreateFailed (line 140) | func TestSaveUploadedCreateFailed(t *testing.T) { function TestContextReset (line 160) | func TestContextReset(t *testing.T) { function TestContextHandlers (line 183) | func TestContextHandlers(t *testing.T) { function TestContextSetGet (line 204) | func TestContextSetGet(t *testing.T) { function TestContextSetGetValues (line 220) | func TestContextSetGetValues(t *testing.T) { function TestContextGetString (line 241) | func TestContextGetString(t *testing.T) { function TestContextSetGetBool (line 247) | func TestContextSetGetBool(t *testing.T) { function TestContextGetInt (line 253) | func TestContextGetInt(t *testing.T) { function TestContextGetInt64 (line 259) | func TestContextGetInt64(t *testing.T) { function TestContextGetUint (line 265) | func TestContextGetUint(t *testing.T) { function TestContextGetUint64 (line 271) | func TestContextGetUint64(t *testing.T) { function TestContextGetFloat64 (line 277) | func TestContextGetFloat64(t *testing.T) { function TestContextGetTime (line 283) | func TestContextGetTime(t *testing.T) { function TestContextGetDuration (line 290) | func TestContextGetDuration(t *testing.T) { function TestContextGetStringSlice (line 296) | func TestContextGetStringSlice(t *testing.T) { function TestContextGetStringMap (line 302) | func TestContextGetStringMap(t *testing.T) { function TestContextGetStringMapString (line 312) | func TestContextGetStringMapString(t *testing.T) { function TestContextGetStringMapStringSlice (line 322) | func TestContextGetStringMapStringSlice(t *testing.T) { function TestContextCopy (line 332) | func TestContextCopy(t *testing.T) { function TestContextHandlerName (line 353) | func TestContextHandlerName(t *testing.T) { function TestContextHandlerNames (line 360) | func TestContextHandlerNames(t *testing.T) { function handlerNameTest (line 372) | func handlerNameTest(c *Context) { function handlerNameTest2 (line 376) | func handlerNameTest2(c *Context) { function TestContextHandler (line 384) | func TestContextHandler(t *testing.T) { function TestContextQuery (line 391) | func TestContextQuery(t *testing.T) { function TestContextDefaultQueryOnEmptyRequest (line 426) | func TestContextDefaultQueryOnEmptyRequest(t *testing.T) { function TestContextQueryAndPostForm (line 441) | func TestContextQueryAndPostForm(t *testing.T) { function TestContextPostFormMultipart (line 539) | func TestContextPostFormMultipart(t *testing.T) { function TestContextSetCookie (line 631) | func TestContextSetCookie(t *testing.T) { function TestContextSetCookiePathEmpty (line 638) | func TestContextSetCookiePathEmpty(t *testing.T) { function TestContextGetCookie (line 645) | func TestContextGetCookie(t *testing.T) { function TestContextBodyAllowedForStatus (line 656) | func TestContextBodyAllowedForStatus(t *testing.T) { type TestPanicRender (line 663) | type TestPanicRender struct method Render (line 666) | func (*TestPanicRender) Render(http.ResponseWriter) error { method WriteContentType (line 670) | func (*TestPanicRender) WriteContentType(http.ResponseWriter) {} function TestContextRenderPanicIfErr (line 672) | func TestContextRenderPanicIfErr(t *testing.T) { function TestContextRenderJSON (line 688) | func TestContextRenderJSON(t *testing.T) { function TestContextRenderJSONP (line 701) | func TestContextRenderJSONP(t *testing.T) { function TestContextRenderJSONPWithoutCallback (line 715) | func TestContextRenderJSONPWithoutCallback(t *testing.T) { function TestContextRenderNoContentJSON (line 728) | func TestContextRenderNoContentJSON(t *testing.T) { function TestContextRenderAPIJSON (line 741) | func TestContextRenderAPIJSON(t *testing.T) { function TestContextRenderNoContentAPIJSON (line 754) | func TestContextRenderNoContentAPIJSON(t *testing.T) { function TestContextRenderIndentedJSON (line 768) | func TestContextRenderIndentedJSON(t *testing.T) { function TestContextRenderNoContentIndentedJSON (line 780) | func TestContextRenderNoContentIndentedJSON(t *testing.T) { function TestContextRenderSecureJSON (line 793) | func TestContextRenderSecureJSON(t *testing.T) { function TestContextRenderNoContentSecureJSON (line 806) | func TestContextRenderNoContentSecureJSON(t *testing.T) { function TestContextRenderNoContentAsciiJSON (line 817) | func TestContextRenderNoContentAsciiJSON(t *testing.T) { function TestContextRenderPureJSON (line 831) | func TestContextRenderPureJSON(t *testing.T) { function TestContextRenderHTML (line 842) | func TestContextRenderHTML(t *testing.T) { function TestContextRenderHTML2 (line 856) | func TestContextRenderHTML2(t *testing.T) { function TestContextRenderNoContentHTML (line 881) | func TestContextRenderNoContentHTML(t *testing.T) { function TestContextRenderXML (line 896) | func TestContextRenderXML(t *testing.T) { function TestContextRenderNoContentXML (line 908) | func TestContextRenderNoContentXML(t *testing.T) { function TestContextRenderString (line 921) | func TestContextRenderString(t *testing.T) { function TestContextRenderNoContentString (line 933) | func TestContextRenderNoContentString(t *testing.T) { function TestContextRenderHTMLString (line 946) | func TestContextRenderHTMLString(t *testing.T) { function TestContextRenderNoContentHTMLString (line 959) | func TestContextRenderNoContentHTMLString(t *testing.T) { function TestContextRenderData (line 973) | func TestContextRenderData(t *testing.T) { function TestContextRenderNoContentData (line 985) | func TestContextRenderNoContentData(t *testing.T) { function TestContextRenderSSE (line 996) | func TestContextRenderSSE(t *testing.T) { function TestContextRenderFile (line 1013) | func TestContextRenderFile(t *testing.T) { function TestContextRenderFileFromFS (line 1025) | func TestContextRenderFileFromFS(t *testing.T) { function TestContextRenderAttachment (line 1038) | func TestContextRenderAttachment(t *testing.T) { function TestContextRenderYAML (line 1053) | func TestContextRenderYAML(t *testing.T) { function TestContextRenderProtoBuf (line 1067) | func TestContextRenderProtoBuf(t *testing.T) { function TestContextHeaders (line 1088) | func TestContextHeaders(t *testing.T) { function TestContextRenderRedirectWithRelativePath (line 1105) | func TestContextRenderRedirectWithRelativePath(t *testing.T) { function TestContextRenderRedirectWithAbsolutePath (line 1119) | func TestContextRenderRedirectWithAbsolutePath(t *testing.T) { function TestContextRenderRedirectWith201 (line 1131) | func TestContextRenderRedirectWith201(t *testing.T) { function TestContextRenderRedirectAll (line 1143) | func TestContextRenderRedirectAll(t *testing.T) { function TestContextNegotiationWithJSON (line 1154) | func TestContextNegotiationWithJSON(t *testing.T) { function TestContextNegotiationWithXML (line 1169) | func TestContextNegotiationWithXML(t *testing.T) { function TestContextNegotiationWithHTML (line 1184) | func TestContextNegotiationWithHTML(t *testing.T) { function TestContextNegotiationNotSupport (line 1202) | func TestContextNegotiationNotSupport(t *testing.T) { function TestContextNegotiationFormat (line 1216) | func TestContextNegotiationFormat(t *testing.T) { function TestContextNegotiationFormatWithAccept (line 1225) | func TestContextNegotiationFormatWithAccept(t *testing.T) { function TestContextNegotiationFormatWithWildcardAccept (line 1235) | func TestContextNegotiationFormatWithWildcardAccept(t *testing.T) { function TestContextNegotiationFormatCustom (line 1259) | func TestContextNegotiationFormatCustom(t *testing.T) { function TestContextIsAborted (line 1272) | func TestContextIsAborted(t *testing.T) { function TestContextAbortWithStatus (line 1288) | func TestContextAbortWithStatus(t *testing.T) { type testJSONAbortMsg (line 1301) | type testJSONAbortMsg struct function TestContextAbortWithStatusJSON (line 1306) | func TestContextAbortWithStatusJSON(t *testing.T) { function TestContextError (line 1332) | func TestContextError(t *testing.T) { function TestContextTypedError (line 1367) | func TestContextTypedError(t *testing.T) { function TestContextAbortWithError (line 1381) | func TestContextAbortWithError(t *testing.T) { function resetTrustedCIDRs (line 1392) | func resetTrustedCIDRs(c *Context) { function TestContextClientIP (line 1396) | func TestContextClientIP(t *testing.T) { function resetContextForClientIPTests (line 1495) | func resetContextForClientIPTests(c *Context) { function TestContextContentType (line 1503) | func TestContextContentType(t *testing.T) { function TestContextAutoBindJSON (line 1511) | func TestContextAutoBindJSON(t *testing.T) { function TestContextBindWithJSON (line 1526) | func TestContextBindWithJSON(t *testing.T) { function TestContextBindWithXML (line 1542) | func TestContextBindWithXML(t *testing.T) { function TestContextBindHeader (line 1563) | func TestContextBindHeader(t *testing.T) { function TestContextBindWithQuery (line 1585) | func TestContextBindWithQuery(t *testing.T) { function TestContextBindWithYAML (line 1601) | func TestContextBindWithYAML(t *testing.T) { function TestContextBadAutoBind (line 1618) | func TestContextBadAutoBind(t *testing.T) { function TestContextAutoShouldBindJSON (line 1639) | func TestContextAutoShouldBindJSON(t *testing.T) { function TestContextShouldBindWithJSON (line 1654) | func TestContextShouldBindWithJSON(t *testing.T) { function TestContextShouldBindWithXML (line 1671) | func TestContextShouldBindWithXML(t *testing.T) { function TestContextShouldBindHeader (line 1692) | func TestContextShouldBindHeader(t *testing.T) { function TestContextShouldBindWithQuery (line 1714) | func TestContextShouldBindWithQuery(t *testing.T) { function TestContextShouldBindWithYAML (line 1734) | func TestContextShouldBindWithYAML(t *testing.T) { function TestContextBadAutoShouldBind (line 1751) | func TestContextBadAutoShouldBind(t *testing.T) { function TestContextShouldBindBodyWith (line 1770) | func TestContextShouldBindBodyWith(t *testing.T) { function TestContextGolangContext (line 1849) | func TestContextGolangContext(t *testing.T) { function TestWebsocketsRequired (line 1865) | func TestWebsocketsRequired(t *testing.T) { function TestGetRequestHeaderValue (line 1887) | func TestGetRequestHeaderValue(t *testing.T) { function TestContextGetRawData (line 1896) | func TestContextGetRawData(t *testing.T) { function TestContextRenderDataFromReader (line 1907) | func TestContextRenderDataFromReader(t *testing.T) { function TestContextRenderDataFromReaderNoHeaders (line 1926) | func TestContextRenderDataFromReaderNoHeaders(t *testing.T) { type TestResponseRecorder (line 1943) | type TestResponseRecorder struct method CloseNotify (line 1948) | func (r *TestResponseRecorder) CloseNotify() <-chan bool { method closeClient (line 1952) | func (r *TestResponseRecorder) closeClient() { function CreateTestResponseRecorder (line 1956) | func CreateTestResponseRecorder() *TestResponseRecorder { function TestContextStream (line 1963) | func TestContextStream(t *testing.T) { function TestContextStreamWithClientGone (line 1982) | func TestContextStreamWithClientGone(t *testing.T) { function TestContextResetInHandler (line 2000) | func TestContextResetInHandler(t *testing.T) { function TestRaceParamsContextCopy (line 2012) | func TestRaceParamsContextCopy(t *testing.T) { function TestContextWithKeysMutex (line 2033) | func TestContextWithKeysMutex(t *testing.T) { function TestRemoteIPFail (line 2046) | func TestRemoteIPFail(t *testing.T) { FILE: framework/gin/debug.go constant ginSupportMinGoVer (line 15) | ginSupportMinGoVer = 12 function IsDebugging (line 19) | func IsDebugging() bool { function debugPrintRoute (line 26) | func debugPrintRoute(httpMethod, absolutePath string, handlers HandlersC... function debugPrintLoadTemplate (line 38) | func debugPrintLoadTemplate(tmpl *template.Template) { function debugPrint (line 50) | func debugPrint(format string, values ...interface{}) { function getMinVer (line 59) | func getMinVer(v string) (uint64, error) { function debugPrintWARNINGDefault (line 68) | func debugPrintWARNINGDefault() { function debugPrintWARNINGNew (line 79) | func debugPrintWARNINGNew() { function debugPrintWARNINGSetHTMLTemplate (line 87) | func debugPrintWARNINGSetHTMLTemplate() { function debugPrintError (line 97) | func debugPrintError(err error) { FILE: framework/gin/debug_test.go function TestIsDebugging (line 26) | func TestIsDebugging(t *testing.T) { function TestDebugPrint (line 35) | func TestDebugPrint(t *testing.T) { function TestDebugPrintError (line 49) | func TestDebugPrintError(t *testing.T) { function TestDebugPrintRoutes (line 59) | func TestDebugPrintRoutes(t *testing.T) { function TestDebugPrintRouteFunc (line 68) | func TestDebugPrintRouteFunc(t *testing.T) { function TestDebugPrintLoadTemplate (line 80) | func TestDebugPrintLoadTemplate(t *testing.T) { function TestDebugPrintWARNINGSetHTMLTemplate (line 90) | func TestDebugPrintWARNINGSetHTMLTemplate(t *testing.T) { function TestDebugPrintWARNINGDefault (line 99) | func TestDebugPrintWARNINGDefault(t *testing.T) { function TestDebugPrintWARNINGNew (line 113) | func TestDebugPrintWARNINGNew(t *testing.T) { function captureOutput (line 122) | func captureOutput(t *testing.T, f func()) string { function TestGetMinVer (line 153) | func TestGetMinVer(t *testing.T) { FILE: framework/gin/deprecated.go method BindWith (line 15) | func (c *Context) BindWith(obj interface{}, b binding.Binding) error { FILE: framework/gin/deprecated_test.go function TestBindWith (line 17) | func TestBindWith(t *testing.T) { FILE: framework/gin/errors.go type ErrorType (line 16) | type ErrorType constant ErrorTypeBind (line 20) | ErrorTypeBind ErrorType = 1 << 63 constant ErrorTypeRender (line 22) | ErrorTypeRender ErrorType = 1 << 62 constant ErrorTypePrivate (line 24) | ErrorTypePrivate ErrorType = 1 << 0 constant ErrorTypePublic (line 26) | ErrorTypePublic ErrorType = 1 << 1 constant ErrorTypeAny (line 28) | ErrorTypeAny ErrorType = 1<<64 - 1 constant ErrorTypeNu (line 30) | ErrorTypeNu = 2 type Error (line 34) | type Error struct method SetType (line 45) | func (msg *Error) SetType(flags ErrorType) *Error { method SetMeta (line 51) | func (msg *Error) SetMeta(data interface{}) *Error { method JSON (line 57) | func (msg *Error) JSON() interface{} { method MarshalJSON (line 79) | func (msg *Error) MarshalJSON() ([]byte, error) { method Error (line 84) | func (msg Error) Error() string { method IsType (line 89) | func (msg *Error) IsType(flags ErrorType) bool { method Unwrap (line 94) | func (msg *Error) Unwrap() error { type errorMsgs (line 40) | type errorMsgs method ByType (line 100) | func (a errorMsgs) ByType(typ ErrorType) errorMsgs { method Last (line 118) | func (a errorMsgs) Last() *Error { method Errors (line 131) | func (a errorMsgs) Errors() []string { method JSON (line 142) | func (a errorMsgs) JSON() interface{} { method MarshalJSON (line 158) | func (a errorMsgs) MarshalJSON() ([]byte, error) { method String (line 162) | func (a errorMsgs) String() string { FILE: framework/gin/errors_1.13_test.go type TestErr (line 14) | type TestErr method Error (line 16) | func (e TestErr) Error() string { return string(e) } function TestErrorUnwrap (line 21) | func TestErrorUnwrap(t *testing.T) { FILE: framework/gin/errors_test.go function TestError (line 15) | func TestError(t *testing.T) { function TestErrorSlice (line 66) | func TestErrorSlice(t *testing.T) { FILE: framework/gin/fs.go type onlyFilesFS (line 12) | type onlyFilesFS struct method Open (line 33) | func (fs onlyFilesFS) Open(name string) (http.File, error) { type neuteredReaddirFile (line 16) | type neuteredReaddirFile struct method Readdir (line 42) | func (f neuteredReaddirFile) Readdir(count int) ([]os.FileInfo, error) { function Dir (line 24) | func Dir(root string, listDirectory bool) http.FileSystem { FILE: framework/gin/gin.go constant defaultMultipartMemory (line 22) | defaultMultipartMemory = 32 << 20 type HandlerFunc (line 32) | type HandlerFunc type HandlersChain (line 35) | type HandlersChain method Last (line 38) | func (c HandlersChain) Last() HandlerFunc { type RouteInfo (line 46) | type RouteInfo struct type RoutesInfo (line 54) | type RoutesInfo type Engine (line 58) | type Engine struct method allocateContext (line 194) | func (engine *Engine) allocateContext() *Context { method Delims (line 201) | func (engine *Engine) Delims(left, right string) *Engine { method SecureJsonPrefix (line 207) | func (engine *Engine) SecureJsonPrefix(prefix string) *Engine { method LoadHTMLGlob (line 214) | func (engine *Engine) LoadHTMLGlob(pattern string) { method LoadHTMLFiles (line 230) | func (engine *Engine) LoadHTMLFiles(files ...string) { method SetHTMLTemplate (line 241) | func (engine *Engine) SetHTMLTemplate(templ *template.Template) { method SetFuncMap (line 250) | func (engine *Engine) SetFuncMap(funcMap template.FuncMap) { method NoRoute (line 255) | func (engine *Engine) NoRoute(handlers ...HandlerFunc) { method NoMethod (line 261) | func (engine *Engine) NoMethod(handlers ...HandlerFunc) { method Use (line 269) | func (engine *Engine) Use(middleware ...HandlerFunc) IRoutes { method rebuild404Handlers (line 276) | func (engine *Engine) rebuild404Handlers() { method rebuild405Handlers (line 280) | func (engine *Engine) rebuild405Handlers() { method addRoute (line 284) | func (engine *Engine) addRoute(method, path string, handlers HandlersC... method Routes (line 307) | func (engine *Engine) Routes() (routes RoutesInfo) { method Run (line 334) | func (engine *Engine) Run(addr ...string) (err error) { method prepareTrustedCIDRs (line 348) | func (engine *Engine) prepareTrustedCIDRs() ([]*net.IPNet, error) { method RunTLS (line 394) | func (engine *Engine) RunTLS(addr, certFile, keyFile string) (err erro... method RunUnix (line 405) | func (engine *Engine) RunUnix(file string) (err error) { method RunFd (line 423) | func (engine *Engine) RunFd(fd int) (err error) { method RunListener (line 439) | func (engine *Engine) RunListener(listener net.Listener) (err error) { method ServeHTTP (line 447) | func (engine *Engine) ServeHTTP(w http.ResponseWriter, req *http.Reque... method HandleContext (line 461) | func (engine *Engine) HandleContext(c *Context) { method handleHTTPRequest (line 469) | func (engine *Engine) handleHTTPRequest(c *Context) { function New (line 152) | func New() *Engine { function Default (line 186) | func Default() *Engine { function iterate (line 314) | func iterate(path, method string, routes RoutesInfo, root *node) RoutesI... function parseIP (line 379) | func parseIP(ip string) net.IP { function serveError (line 531) | func serveError(c *Context, code int, defaultMessage []byte) { function redirectTrailingSlash (line 548) | func redirectTrailingSlash(c *Context) { function redirectFixedPath (line 561) | func redirectFixedPath(c *Context, root *node, trailingSlash bool) bool { function redirectRequest (line 573) | func redirectRequest(c *Context) { FILE: framework/gin/ginS/gins.go function engine (line 18) | func engine() *gin.Engine { function LoadHTMLGlob (line 26) | func LoadHTMLGlob(pattern string) { function LoadHTMLFiles (line 31) | func LoadHTMLFiles(files ...string) { function SetHTMLTemplate (line 36) | func SetHTMLTemplate(templ *template.Template) { function NoRoute (line 41) | func NoRoute(handlers ...gin.HandlerFunc) { function NoMethod (line 46) | func NoMethod(handlers ...gin.HandlerFunc) { function Group (line 52) | func Group(relativePath string, handlers ...gin.HandlerFunc) *gin.Router... function Handle (line 57) | func Handle(httpMethod, relativePath string, handlers ...gin.HandlerFunc... function POST (line 62) | func POST(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function GET (line 67) | func GET(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function DELETE (line 72) | func DELETE(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function PATCH (line 77) | func PATCH(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function PUT (line 82) | func PUT(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function OPTIONS (line 87) | func OPTIONS(relativePath string, handlers ...gin.HandlerFunc) gin.IRout... function HEAD (line 92) | func HEAD(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function Any (line 97) | func Any(relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes { function StaticFile (line 102) | func StaticFile(relativePath, filepath string) gin.IRoutes { function Static (line 112) | func Static(relativePath, root string) gin.IRoutes { function StaticFS (line 117) | func StaticFS(relativePath string, fs http.FileSystem) gin.IRoutes { function Use (line 124) | func Use(middlewares ...gin.HandlerFunc) gin.IRoutes { function Routes (line 129) | func Routes() gin.RoutesInfo { function Run (line 136) | func Run(addr ...string) (err error) { function RunTLS (line 143) | func RunTLS(addr, certFile, keyFile string) (err error) { function RunUnix (line 150) | func RunUnix(file string) (err error) { function RunFd (line 157) | func RunFd(fd int) (err error) { FILE: framework/gin/gin_integration_test.go function testRequest (line 28) | func testRequest(t *testing.T, params ...string) { function TestRunEmpty (line 64) | func TestRunEmpty(t *testing.T) { function TestTrustedCIDRsForRun (line 79) | func TestTrustedCIDRsForRun(t *testing.T) { function TestRunTLS (line 86) | func TestRunTLS(t *testing.T) { function TestPusher (line 102) | func TestPusher(t *testing.T) { function TestRunEmptyWithEnv (line 139) | func TestRunEmptyWithEnv(t *testing.T) { function TestRunTooMuchParams (line 154) | func TestRunTooMuchParams(t *testing.T) { function TestRunWithPort (line 161) | func TestRunWithPort(t *testing.T) { function TestUnixSocket (line 175) | func TestUnixSocket(t *testing.T) { function TestBadUnixSocket (line 203) | func TestBadUnixSocket(t *testing.T) { function TestFileDescriptor (line 208) | func TestFileDescriptor(t *testing.T) { function TestBadFileDescriptor (line 239) | func TestBadFileDescriptor(t *testing.T) { function TestListener (line 244) | func TestListener(t *testing.T) { function TestBadListener (line 271) | func TestBadListener(t *testing.T) { function TestWithHttptestWithAutoSelectedPort (line 281) | func TestWithHttptestWithAutoSelectedPort(t *testing.T) { function TestConcurrentHandleContext (line 291) | func TestConcurrentHandleContext(t *testing.T) { function testGetRequestHandler (line 326) | func testGetRequestHandler(t *testing.T, h http.Handler, url string) { function TestTreeRunDynamicRouting (line 337) | func TestTreeRunDynamicRouting(t *testing.T) { FILE: framework/gin/gin_test.go function formatAsDate (line 24) | func formatAsDate(t time.Time) string { function setupHTMLFiles (line 29) | func setupHTMLFiles(t *testing.T, mode string, tls bool, loadMethod func... function TestLoadHTMLGlobDebugMode (line 62) | func TestLoadHTMLGlobDebugMode(t *testing.T) { function TestLoadHTMLGlobTestMode (line 82) | func TestLoadHTMLGlobTestMode(t *testing.T) { function TestLoadHTMLGlobReleaseMode (line 102) | func TestLoadHTMLGlobReleaseMode(t *testing.T) { function TestLoadHTMLGlobUsingTLS (line 122) | func TestLoadHTMLGlobUsingTLS(t *testing.T) { function TestLoadHTMLGlobFromFuncMap (line 149) | func TestLoadHTMLGlobFromFuncMap(t *testing.T) { function init (line 169) | func init() { function TestCreateEngine (line 173) | func TestCreateEngine(t *testing.T) { function TestLoadHTMLFilesTestMode (line 180) | func TestLoadHTMLFilesTestMode(t *testing.T) { function TestLoadHTMLFilesDebugMode (line 200) | func TestLoadHTMLFilesDebugMode(t *testing.T) { function TestLoadHTMLFilesReleaseMode (line 220) | func TestLoadHTMLFilesReleaseMode(t *testing.T) { function TestLoadHTMLFilesUsingTLS (line 240) | func TestLoadHTMLFilesUsingTLS(t *testing.T) { function TestLoadHTMLFilesFuncMap (line 267) | func TestLoadHTMLFilesFuncMap(t *testing.T) { function TestAddRoute (line 287) | func TestAddRoute(t *testing.T) { function TestAddRouteFails (line 305) | func TestAddRouteFails(t *testing.T) { function TestCreateDefaultRouter (line 317) | func TestCreateDefaultRouter(t *testing.T) { function TestNoRouteWithoutGlobalHandlers (line 322) | func TestNoRouteWithoutGlobalHandlers(t *testing.T) { function TestNoRouteWithGlobalHandlers (line 344) | func TestNoRouteWithGlobalHandlers(t *testing.T) { function TestNoMethodWithoutGlobalHandlers (line 375) | func TestNoMethodWithoutGlobalHandlers(t *testing.T) { function TestRebuild404Handlers (line 397) | func TestRebuild404Handlers(t *testing.T) { function TestNoMethodWithGlobalHandlers (line 401) | func TestNoMethodWithGlobalHandlers(t *testing.T) { function compareFunc (line 432) | func compareFunc(t *testing.T, a, b interface{}) { function TestListOfRoutes (line 440) | func TestListOfRoutes(t *testing.T) { function TestEngineHandleContext (line 482) | func TestEngineHandleContext(t *testing.T) { function TestEngineHandleContextManyReEntries (line 499) | func TestEngineHandleContextManyReEntries(t *testing.T) { function TestPrepareTrustedCIRDsWith (line 536) | func TestPrepareTrustedCIRDsWith(t *testing.T) { function parseCIDR (line 661) | func parseCIDR(cidr string) *net.IPNet { function assertRoutePresent (line 669) | func assertRoutePresent(t *testing.T, gotRoutes RoutesInfo, wantRoute Ro... function handlerTest1 (line 679) | func handlerTest1(c *Context) {} function handlerTest2 (line 680) | func handlerTest2(c *Context) {} FILE: framework/gin/githubapi_test.go type route (line 19) | type route struct function TestShouldBindUri (line 288) | func TestShouldBindUri(t *testing.T) { function TestBindUri (line 310) | func TestBindUri(t *testing.T) { function TestBindUriError (line 332) | func TestBindUriError(t *testing.T) { function TestRaceContextCopy (line 349) | func TestRaceContextCopy(t *testing.T) { function readWriteKeys (line 365) | func readWriteKeys(c *Context) { function githubConfigRouter (line 372) | func githubConfigRouter(router *Engine) { function TestGithubAPI (line 385) | func TestGithubAPI(t *testing.T) { function exampleFromPath (line 403) | func exampleFromPath(path string) (string, Params) { function BenchmarkGithub (line 438) | func BenchmarkGithub(b *testing.B) { function BenchmarkParallelGithub (line 444) | func BenchmarkParallelGithub(b *testing.B) { function BenchmarkParallelGithubDefault (line 460) | func BenchmarkParallelGithubDefault(b *testing.B) { FILE: framework/gin/hade_context.go method BaseContext (line 10) | func (ctx *Context) BaseContext() context.Context { method Make (line 17) | func (ctx *Context) Make(key string) (interface{}, error) { method MustMake (line 22) | func (ctx *Context) MustMake(key string) interface{} { method MakeNew (line 27) | func (ctx *Context) MakeNew(key string, params []interface{}) (interface... FILE: framework/gin/hade_context_contract.go method MustMakeApp (line 6) | func (c *Context) MustMakeApp() contract.App { method MustMakeKernel (line 11) | func (c *Context) MustMakeKernel() contract.Kernel { method MustMakeConfig (line 16) | func (c *Context) MustMakeConfig() contract.Config { method MustMakeLog (line 21) | func (c *Context) MustMakeLog() contract.Log { FILE: framework/gin/hade_engine.go method SetContainer (line 6) | func (engine *Engine) SetContainer(container framework.Container) { method GetContainer (line 11) | func (engine *Engine) GetContainer() framework.Container { method Bind (line 16) | func (engine *Engine) Bind(provider framework.ServiceProvider) error { method IsBind (line 21) | func (engine *Engine) IsBind(key string) bool { FILE: framework/gin/hade_request.go type IRequest (line 15) | type IRequest interface method QueryAll (line 72) | func (ctx *Context) QueryAll() map[string][]string { method DefaultQueryInt (line 81) | func (ctx *Context) DefaultQueryInt(key string, def int) (int, bool) { method DefaultQueryInt64 (line 92) | func (ctx *Context) DefaultQueryInt64(key string, def int64) (int64, boo... method DefaultQueryFloat64 (line 102) | func (ctx *Context) DefaultQueryFloat64(key string, def float64) (float6... method DefaultQueryFloat32 (line 112) | func (ctx *Context) DefaultQueryFloat32(key string, def float32) (float3... method DefaultQueryBool (line 122) | func (ctx *Context) DefaultQueryBool(key string, def bool) (bool, bool) { method DefaultQueryString (line 132) | func (ctx *Context) DefaultQueryString(key string, def string) (string, ... method DefaultQueryStringSlice (line 142) | func (ctx *Context) DefaultQueryStringSlice(key string, def []string) ([... method DefaultParamInt (line 152) | func (ctx *Context) DefaultParamInt(key string, def int) (int, bool) { method DefaultParamInt64 (line 160) | func (ctx *Context) DefaultParamInt64(key string, def int64) (int64, boo... method DefaultParamFloat64 (line 167) | func (ctx *Context) DefaultParamFloat64(key string, def float64) (float6... method DefaultParamFloat32 (line 174) | func (ctx *Context) DefaultParamFloat32(key string, def float32) (float3... method DefaultParamBool (line 181) | func (ctx *Context) DefaultParamBool(key string, def bool) (bool, bool) { method DefaultParamString (line 188) | func (ctx *Context) DefaultParamString(key string, def string) (string, ... method HadeParam (line 196) | func (ctx *Context) HadeParam(key string) interface{} { method FormAll (line 203) | func (ctx *Context) FormAll() map[string][]string { method DefaultFormInt64 (line 208) | func (ctx *Context) DefaultFormInt64(key string, def int64) (int64, bool) { method DefaultFormFloat64 (line 218) | func (ctx *Context) DefaultFormFloat64(key string, def float64) (float64... method DefaultFormFloat32 (line 228) | func (ctx *Context) DefaultFormFloat32(key string, def float32) (float32... method DefaultFormBool (line 238) | func (ctx *Context) DefaultFormBool(key string, def bool) (bool, bool) { method DefaultFormStringSlice (line 248) | func (ctx *Context) DefaultFormStringSlice(key string, def []string) ([]... method DefaultForm (line 256) | func (ctx *Context) DefaultForm(key string) interface{} { FILE: framework/gin/hade_response.go type IResponse (line 16) | type IResponse interface method IJsonp (line 49) | func (ctx *Context) IJsonp(obj interface{}) IResponse { method IXml (line 84) | func (ctx *Context) IXml(obj interface{}) IResponse { method IHtml (line 95) | func (ctx *Context) IHtml(file string, obj interface{}) IResponse { method IText (line 111) | func (ctx *Context) IText(format string, values ...interface{}) IResponse { method IRedirect (line 119) | func (ctx *Context) IRedirect(path string) IResponse { method ISetHeader (line 125) | func (ctx *Context) ISetHeader(key string, val string) IResponse { method ISetCookie (line 131) | func (ctx *Context) ISetCookie(key string, val string, maxAge int, path ... method ISetStatus (line 149) | func (ctx *Context) ISetStatus(code int) IResponse { method ISetOkStatus (line 155) | func (ctx *Context) ISetOkStatus() IResponse { method IJson (line 160) | func (ctx *Context) IJson(obj interface{}) IResponse { FILE: framework/gin/internal/bytesconv/bytesconv.go function StringToBytes (line 12) | func StringToBytes(s string) []byte { function BytesToString (line 22) | func BytesToString(b []byte) string { FILE: framework/gin/internal/bytesconv/bytesconv_test.go function rawBytesToStr (line 18) | func rawBytesToStr(b []byte) string { function rawStrToBytes (line 22) | func rawStrToBytes(s string) []byte { function TestBytesToString (line 28) | func TestBytesToString(t *testing.T) { constant letterBytes (line 38) | letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" constant letterIdxBits (line 40) | letterIdxBits = 6 constant letterIdxMask (line 41) | letterIdxMask = 1< FILE: framework/middleware/gin-swagger/swaggerFiles/ab0x.go type HTTPFS (line 33) | type HTTPFS struct method Open (line 50) | func (hfs *HTTPFS) Open(path string) (http.File, error) { function init (line 35) | func init() { function ReadFile (line 60) | func ReadFile(path string) ([]byte, error) { function WriteFile (line 86) | func WriteFile(filename string, data []byte, perm os.FileMode) error { function WalkDirs (line 103) | func WalkDirs(name string, includeDirsInList bool, files ...string) ([]s... FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__favicon-16x16.png.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__favicon-32x32.png.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__index.html.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__oauth2-redirect.html.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui-bundle.js.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui-standalone-preset.js.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui-standalone-preset.js.map.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui.css.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui.css.map.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui.js.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swaggerFiles/b0xfile__swagger-ui.js.map.go function init (line 13) | func init() { FILE: framework/middleware/gin-swagger/swagger_test.go function TestWrapHandler (line 16) | func TestWrapHandler(t *testing.T) { function TestWrapCustomHandler (line 26) | func TestWrapCustomHandler(t *testing.T) { function TestDisablingWrapHandler (line 45) | func TestDisablingWrapHandler(t *testing.T) { function TestDisablingCustomWrapHandler (line 82) | func TestDisablingCustomWrapHandler(t *testing.T) { function TestWithGzipMiddleware (line 101) | func TestWithGzipMiddleware(t *testing.T) { function performRequest (line 126) | func performRequest(method, target string, router *gin.Engine) *httptest... FILE: framework/middleware/static/static.go constant INDEX (line 12) | INDEX = "index.html" type ServeFileSystem (line 14) | type ServeFileSystem interface type localFileSystem (line 19) | type localFileSystem struct method Exists (line 33) | func (l *localFileSystem) Exists(prefix string, filepath string) bool { function LocalFile (line 25) | func LocalFile(root string, indexes bool) *localFileSystem { function ServeRoot (line 54) | func ServeRoot(urlPrefix, root string) gin.HandlerFunc { function Serve (line 59) | func Serve(urlPrefix string, fs ServeFileSystem) gin.HandlerFunc { FILE: framework/middleware/timeout.go function Timeout (line 15) | func Timeout(d time.Duration) gin.HandlerFunc { FILE: framework/middleware/trace.go function Trace (line 9) | func Trace() gin.HandlerFunc { FILE: framework/provider.go type NewInstance (line 4) | type NewInstance type ServiceProvider (line 7) | type ServiceProvider interface FILE: framework/provider/app/provider.go type HadeAppProvider (line 9) | type HadeAppProvider struct method Register (line 14) | func (h *HadeAppProvider) Register(container framework.Container) fram... method Boot (line 19) | func (h *HadeAppProvider) Boot(container framework.Container) error { method IsDefer (line 24) | func (h *HadeAppProvider) IsDefer() bool { method Params (line 29) | func (h *HadeAppProvider) Params(container framework.Container) []inte... method Name (line 34) | func (h *HadeAppProvider) Name() string { FILE: framework/provider/app/service.go type HadeApp (line 13) | type HadeApp struct method AppID (line 22) | func (app HadeApp) AppID() string { method Version (line 27) | func (app HadeApp) Version() string { method BaseFolder (line 32) | func (app HadeApp) BaseFolder() string { method ConfigFolder (line 42) | func (app HadeApp) ConfigFolder() string { method LogFolder (line 50) | func (app HadeApp) LogFolder() string { method HttpFolder (line 57) | func (app HadeApp) HttpFolder() string { method ConsoleFolder (line 64) | func (app HadeApp) ConsoleFolder() string { method StorageFolder (line 71) | func (app HadeApp) StorageFolder() string { method ProviderFolder (line 79) | func (app HadeApp) ProviderFolder() string { method MiddlewareFolder (line 87) | func (app HadeApp) MiddlewareFolder() string { method CommandFolder (line 95) | func (app HadeApp) CommandFolder() string { method RuntimeFolder (line 103) | func (app HadeApp) RuntimeFolder() string { method TestFolder (line 111) | func (app HadeApp) TestFolder() string { method DeployFolder (line 119) | func (app HadeApp) DeployFolder() string { method LoadAppConfig (line 146) | func (app *HadeApp) LoadAppConfig(kv map[string]string) { method AppFolder (line 153) | func (app *HadeApp) AppFolder() string { function NewHadeApp (line 127) | func NewHadeApp(params ...interface{}) (interface{}, error) { FILE: framework/provider/cache/provider.go type HadeCacheProvider (line 12) | type HadeCacheProvider struct method Register (line 19) | func (l *HadeCacheProvider) Register(c framework.Container) framework.... method Boot (line 43) | func (l *HadeCacheProvider) Boot(c framework.Container) error { method IsDefer (line 48) | func (l *HadeCacheProvider) IsDefer() bool { method Params (line 53) | func (l *HadeCacheProvider) Params(c framework.Container) []interface{} { method Name (line 58) | func (l *HadeCacheProvider) Name() string { FILE: framework/provider/cache/services/cache.go constant NoneDuration (line 9) | NoneDuration = time.Duration(-1) FILE: framework/provider/cache/services/memory.go type MemoryData (line 14) | type MemoryData struct type MemoryCache (line 20) | type MemoryCache struct method Get (line 36) | func (m *MemoryCache) Get(ctx context.Context, key string) (string, er... method GetObj (line 44) | func (m *MemoryCache) GetObj(ctx context.Context, key string, obj inte... method GetMany (line 67) | func (m *MemoryCache) GetMany(ctx context.Context, keys []string) (map... method Set (line 84) | func (m *MemoryCache) Set(ctx context.Context, key string, val string,... method SetObj (line 88) | func (m *MemoryCache) SetObj(ctx context.Context, key string, val inte... method SetMany (line 101) | func (m *MemoryCache) SetMany(ctx context.Context, data map[string]str... method SetForever (line 115) | func (m *MemoryCache) SetForever(ctx context.Context, key string, val ... method SetForeverObj (line 119) | func (m *MemoryCache) SetForeverObj(ctx context.Context, key string, v... method Remember (line 123) | func (m *MemoryCache) Remember(ctx context.Context, key string, timeou... method SetTTL (line 149) | func (m *MemoryCache) SetTTL(ctx context.Context, key string, timeout ... method GetTTL (line 160) | func (m *MemoryCache) GetTTL(ctx context.Context, key string) (time.Du... method Calc (line 170) | func (m *MemoryCache) Calc(ctx context.Context, key string, step int64... method Increment (line 195) | func (m *MemoryCache) Increment(ctx context.Context, key string) (int6... method Decrement (line 199) | func (m *MemoryCache) Decrement(ctx context.Context, key string) (int6... method Del (line 203) | func (m *MemoryCache) Del(ctx context.Context, key string) error { method DelMany (line 210) | func (m *MemoryCache) DelMany(ctx context.Context, keys []string) error { function NewMemoryCache (line 26) | func NewMemoryCache(params ...interface{}) (interface{}, error) { FILE: framework/provider/cache/services/memory_test.go function TestHadeMemoryService_Load (line 14) | func TestHadeMemoryService_Load(t *testing.T) { FILE: framework/provider/cache/services/redis.go type RedisCache (line 15) | type RedisCache struct method GetObj (line 48) | func (r *RedisCache) GetObj(ctx context.Context, key string, model int... method GetMany (line 62) | func (r *RedisCache) GetMany(ctx context.Context, keys []string) (map[... method Set (line 89) | func (r *RedisCache) Set(ctx context.Context, key string, val string, ... method SetObj (line 94) | func (r *RedisCache) SetObj(ctx context.Context, key string, val inter... method SetMany (line 99) | func (r *RedisCache) SetMany(ctx context.Context, data map[string]stri... method SetForever (line 110) | func (r *RedisCache) SetForever(ctx context.Context, key string, val s... method SetForeverObj (line 115) | func (r *RedisCache) SetForeverObj(ctx context.Context, key string, va... method SetTTL (line 120) | func (r *RedisCache) SetTTL(ctx context.Context, key string, timeout t... method GetTTL (line 125) | func (r *RedisCache) GetTTL(ctx context.Context, key string) (time.Dur... method Remember (line 129) | func (r *RedisCache) Remember(ctx context.Context, key string, timeout... method Calc (line 154) | func (r *RedisCache) Calc(ctx context.Context, key string, step int64)... method Increment (line 158) | func (r *RedisCache) Increment(ctx context.Context, key string) (int64... method Decrement (line 162) | func (r *RedisCache) Decrement(ctx context.Context, key string) (int64... method Del (line 166) | func (r *RedisCache) Del(ctx context.Context, key string) error { method DelMany (line 170) | func (r *RedisCache) DelMany(ctx context.Context, keys []string) error { function NewRedisCache (line 22) | func NewRedisCache(params ...interface{}) (interface{}, error) { FILE: framework/provider/cache/services/redis_test.go type Bar (line 15) | type Bar struct method MarshalBinary (line 19) | func (b *Bar) MarshalBinary() ([]byte, error) { method UnmarshalBinary (line 23) | func (b *Bar) UnmarshalBinary(bt []byte) error { function TestHadeRedisService_Load (line 27) | func TestHadeRedisService_Load(t *testing.T) { FILE: framework/provider/config/fake_provider.go type FakeConfigProvider (line 8) | type FakeConfigProvider struct method Register (line 14) | func (provider *FakeConfigProvider) Register(c framework.Container) fr... method Boot (line 19) | func (provider *FakeConfigProvider) Boot(c framework.Container) error { method IsDefer (line 24) | func (provider *FakeConfigProvider) IsDefer() bool { method Params (line 29) | func (provider *FakeConfigProvider) Params(c framework.Container) []in... method Name (line 34) | func (provider *FakeConfigProvider) Name() string { FILE: framework/provider/config/fake_service.go type FakeConfig (line 12) | type FakeConfig struct method find (line 28) | func (conf *FakeConfig) find(key string) interface{} { method IsExist (line 33) | func (conf *FakeConfig) IsExist(key string) bool { method Get (line 38) | func (conf *FakeConfig) Get(key string) interface{} { method GetBool (line 43) | func (conf *FakeConfig) GetBool(key string) bool { method GetInt (line 48) | func (conf *FakeConfig) GetInt(key string) int { method GetFloat64 (line 53) | func (conf *FakeConfig) GetFloat64(key string) float64 { method GetTime (line 58) | func (conf *FakeConfig) GetTime(key string) time.Time { method GetString (line 63) | func (conf *FakeConfig) GetString(key string) string { method GetIntSlice (line 68) | func (conf *FakeConfig) GetIntSlice(key string) []int { method GetStringSlice (line 73) | func (conf *FakeConfig) GetStringSlice(key string) []string { method GetStringMap (line 78) | func (conf *FakeConfig) GetStringMap(key string) map[string]interface{} { method GetStringMapString (line 83) | func (conf *FakeConfig) GetStringMapString(key string) map[string]stri... method GetStringMapStringSlice (line 88) | func (conf *FakeConfig) GetStringMapStringSlice(key string) map[string... method Load (line 93) | func (conf *FakeConfig) Load(key string, val interface{}) error { function NewFakeConfig (line 16) | func NewFakeConfig(params ...interface{}) (interface{}, error) { FILE: framework/provider/config/provider.go type HadeConfigProvider (line 9) | type HadeConfigProvider struct method Register (line 12) | func (provider *HadeConfigProvider) Register(c framework.Container) fr... method Boot (line 17) | func (provider *HadeConfigProvider) Boot(c framework.Container) error { method IsDefer (line 22) | func (provider *HadeConfigProvider) IsDefer() bool { method Params (line 27) | func (provider *HadeConfigProvider) Params(c framework.Container) []in... method Name (line 38) | func (provider *HadeConfigProvider) Name() string { FILE: framework/provider/config/provider_test.go function TestHadeConfig_Normal (line 15) | func TestHadeConfig_Normal(t *testing.T) { FILE: framework/provider/config/service.go type HadeConfig (line 25) | type HadeConfig struct method loadConfigFile (line 36) | func (conf *HadeConfig) loadConfigFile(folder string, file string) err... method removeConfigFile (line 72) | func (conf *HadeConfig) removeConfigFile(folder string, file string) e... method find (line 224) | func (conf *HadeConfig) find(key string) interface{} { method IsExist (line 231) | func (conf *HadeConfig) IsExist(key string) bool { method Get (line 236) | func (conf *HadeConfig) Get(key string) interface{} { method GetBool (line 241) | func (conf *HadeConfig) GetBool(key string) bool { method GetInt (line 246) | func (conf *HadeConfig) GetInt(key string) int { method GetFloat64 (line 251) | func (conf *HadeConfig) GetFloat64(key string) float64 { method GetTime (line 256) | func (conf *HadeConfig) GetTime(key string) time.Time { method GetString (line 261) | func (conf *HadeConfig) GetString(key string) string { method GetIntSlice (line 266) | func (conf *HadeConfig) GetIntSlice(key string) []int { method GetStringSlice (line 271) | func (conf *HadeConfig) GetStringSlice(key string) []string { method GetStringMap (line 276) | func (conf *HadeConfig) GetStringMap(key string) map[string]interface{} { method GetStringMapString (line 281) | func (conf *HadeConfig) GetStringMapString(key string) map[string]stri... method GetStringMapStringSlice (line 286) | func (conf *HadeConfig) GetStringMapStringSlice(key string) map[string... method Load (line 291) | func (conf *HadeConfig) Load(key string, val interface{}) error { function NewHadeConfig (line 87) | func NewHadeConfig(params ...interface{}) (interface{}, error) { function replace (line 179) | func replace(content []byte, maps map[string]string) []byte { function searchMap (line 194) | func searchMap(source map[string]interface{}, path []string) interface{} { FILE: framework/provider/config/service_test.go function TestHadeConfig_GetInt (line 13) | func TestHadeConfig_GetInt(t *testing.T) { FILE: framework/provider/distributed/provider_local.go type LocalDistributedProvider (line 9) | type LocalDistributedProvider struct method Register (line 13) | func (h *LocalDistributedProvider) Register(container framework.Contai... method Boot (line 18) | func (h *LocalDistributedProvider) Boot(container framework.Container)... method IsDefer (line 23) | func (h *LocalDistributedProvider) IsDefer() bool { method Params (line 28) | func (h *LocalDistributedProvider) Params(container framework.Containe... method Name (line 33) | func (h *LocalDistributedProvider) Name() string { FILE: framework/provider/distributed/service_local.go type LocalDistributedService (line 15) | type LocalDistributedService struct method Select (line 31) | func (s LocalDistributedService) Select(serviceName string, appID stri... function NewLocalDistributedService (line 20) | func NewLocalDistributedService(params ...interface{}) (interface{}, err... FILE: framework/provider/env/provider.go type HadeEnvProvider (line 8) | type HadeEnvProvider struct method Register (line 13) | func (provider *HadeEnvProvider) Register(c framework.Container) frame... method Boot (line 18) | func (provider *HadeEnvProvider) Boot(c framework.Container) error { method IsDefer (line 25) | func (provider *HadeEnvProvider) IsDefer() bool { method Params (line 30) | func (provider *HadeEnvProvider) Params(c framework.Container) []inter... method Name (line 35) | func (provider *HadeEnvProvider) Name() string { FILE: framework/provider/env/service.go type HadeEnv (line 16) | type HadeEnv struct method AppEnv (line 83) | func (en *HadeEnv) AppEnv() string { method IsExist (line 88) | func (en *HadeEnv) IsExist(key string) bool { method Get (line 94) | func (en *HadeEnv) Get(key string) string { method All (line 102) | func (en *HadeEnv) All() map[string]string { function NewHadeEnv (line 24) | func NewHadeEnv(params ...interface{}) (interface{}, error) { FILE: framework/provider/env/testing_provider.go type HadeTestingEnvProvider (line 8) | type HadeTestingEnvProvider struct method Register (line 13) | func (provider *HadeTestingEnvProvider) Register(c framework.Container... method Boot (line 18) | func (provider *HadeTestingEnvProvider) Boot(c framework.Container) er... method IsDefer (line 23) | func (provider *HadeTestingEnvProvider) IsDefer() bool { method Params (line 28) | func (provider *HadeTestingEnvProvider) Params(c framework.Container) ... method Name (line 33) | func (provider *HadeTestingEnvProvider) Name() string { FILE: framework/provider/env/testing_service.go type HadeTestingEnv (line 4) | type HadeTestingEnv struct method AppEnv (line 19) | func (en *HadeTestingEnv) AppEnv() string { method IsExist (line 24) | func (en *HadeTestingEnv) IsExist(key string) bool { method Get (line 30) | func (en *HadeTestingEnv) Get(key string) string { method All (line 38) | func (en *HadeTestingEnv) All() map[string]string { function NewHadeTestingEnv (line 12) | func NewHadeTestingEnv(params ...interface{}) (interface{}, error) { FILE: framework/provider/id/provider.go type HadeIDProvider (line 8) | type HadeIDProvider struct method Register (line 12) | func (provider *HadeIDProvider) Register(c framework.Container) framew... method Boot (line 17) | func (provider *HadeIDProvider) Boot(c framework.Container) error { method IsDefer (line 22) | func (provider *HadeIDProvider) IsDefer() bool { method Params (line 27) | func (provider *HadeIDProvider) Params(c framework.Container) []interf... method Name (line 32) | func (provider *HadeIDProvider) Name() string { FILE: framework/provider/id/provier_test.go function TestConsoleLog_Normal (line 12) | func TestConsoleLog_Normal(t *testing.T) { FILE: framework/provider/id/service.go type HadeIDService (line 7) | type HadeIDService struct method NewID (line 14) | func (s *HadeIDService) NewID() string { function NewHadeIDService (line 10) | func NewHadeIDService(params ...interface{}) (interface{}, error) { FILE: framework/provider/kernel/provider.go type HadeKernelProvider (line 10) | type HadeKernelProvider struct method Register (line 15) | func (provider *HadeKernelProvider) Register(c framework.Container) fr... method Boot (line 20) | func (provider *HadeKernelProvider) Boot(c framework.Container) error { method IsDefer (line 29) | func (provider *HadeKernelProvider) IsDefer() bool { method Params (line 34) | func (provider *HadeKernelProvider) Params(c framework.Container) []in... method Name (line 39) | func (provider *HadeKernelProvider) Name() string { FILE: framework/provider/kernel/service.go type HadeKernelService (line 9) | type HadeKernelService struct method HttpEngine (line 20) | func (s *HadeKernelService) HttpEngine() http.Handler { function NewHadeKernelService (line 14) | func NewHadeKernelService(params ...interface{}) (interface{}, error) { FILE: framework/provider/log/formatter/json.go function JsonFormatter (line 13) | func JsonFormatter(level contract.LogLevel, t time.Time, msg string, fie... FILE: framework/provider/log/formatter/prefix.go function Prefix (line 5) | func Prefix(level contract.LogLevel) string { FILE: framework/provider/log/formatter/text.go function TextFormatter (line 12) | func TextFormatter(level contract.LogLevel, t time.Time, msg string, fie... FILE: framework/provider/log/provider.go type HadeLogServiceProvider (line 14) | type HadeLogServiceProvider struct method Register (line 30) | func (l *HadeLogServiceProvider) Register(c framework.Container) frame... method Boot (line 58) | func (l *HadeLogServiceProvider) Boot(c framework.Container) error { method IsDefer (line 63) | func (l *HadeLogServiceProvider) IsDefer() bool { method Params (line 68) | func (l *HadeLogServiceProvider) Params(c framework.Container) []inter... method Name (line 97) | func (l *HadeLogServiceProvider) Name() string { function logLevel (line 102) | func logLevel(config string) contract.LogLevel { FILE: framework/provider/log/services/console.go type HadeConsoleLog (line 11) | type HadeConsoleLog struct function NewHadeConsoleLog (line 16) | func NewHadeConsoleLog(params ...interface{}) (interface{}, error) { FILE: framework/provider/log/services/custom.go type HadeCustomLog (line 9) | type HadeCustomLog struct function NewHadeCustomLog (line 13) | func NewHadeCustomLog(params ...interface{}) (interface{}, error) { FILE: framework/provider/log/services/log.go type HadeLog (line 15) | type HadeLog struct method IsLevelEnable (line 25) | func (log *HadeLog) IsLevelEnable(level contract.LogLevel) bool { method logf (line 30) | func (log *HadeLog) logf(level contract.LogLevel, ctx context.Context,... method SetOutput (line 81) | func (log *HadeLog) SetOutput(output io.Writer) { method Panic (line 86) | func (log *HadeLog) Panic(ctx context.Context, msg string, fields map[... method Fatal (line 91) | func (log *HadeLog) Fatal(ctx context.Context, msg string, fields map[... method Error (line 96) | func (log *HadeLog) Error(ctx context.Context, msg string, fields map[... method Warn (line 101) | func (log *HadeLog) Warn(ctx context.Context, msg string, fields map[s... method Info (line 106) | func (log *HadeLog) Info(ctx context.Context, msg string, fields map[s... method Debug (line 111) | func (log *HadeLog) Debug(ctx context.Context, msg string, fields map[... method Trace (line 116) | func (log *HadeLog) Trace(ctx context.Context, msg string, fields map[... method SetLevel (line 121) | func (log *HadeLog) SetLevel(level contract.LogLevel) { method SetCtxFielder (line 126) | func (log *HadeLog) SetCtxFielder(handler contract.CtxFielder) { method SetFormatter (line 131) | func (log *HadeLog) SetFormatter(formatter contract.Formatter) { FILE: framework/provider/log/services/rotate.go type HadeRotateLog (line 18) | type HadeRotateLog struct function NewHadeRotateLog (line 28) | func NewHadeRotateLog(params ...interface{}) (interface{}, error) { FILE: framework/provider/log/services/single.go type HadeSingleLog (line 14) | type HadeSingleLog struct function NewHadeSingleLog (line 23) | func NewHadeSingleLog(params ...interface{}) (interface{}, error) { FILE: framework/provider/orm/config.go function GetBaseConfig (line 11) | func GetBaseConfig(c framework.Container) *contract.DBConfig { function WithConfigPath (line 26) | func WithConfigPath(configPath string) contract.DBOption { function WithGormConfig (line 38) | func WithGormConfig(gormConfig *gorm.Config) contract.DBOption { function WithDryRun (line 49) | func WithDryRun() contract.DBOption { function WithFullSaveAssociations (line 57) | func WithFullSaveAssociations() contract.DBOption { FILE: framework/provider/orm/config_test.go function TestHadeConfig_Load (line 11) | func TestHadeConfig_Load(t *testing.T) { FILE: framework/provider/orm/logger.go type OrmLogger (line 11) | type OrmLogger struct method LogMode (line 21) | func (o *OrmLogger) LogMode(level logger.LogLevel) logger.Interface { method Info (line 26) | func (o *OrmLogger) Info(ctx context.Context, s string, i ...interface... method Warn (line 34) | func (o *OrmLogger) Warn(ctx context.Context, s string, i ...interface... method Error (line 42) | func (o *OrmLogger) Error(ctx context.Context, s string, i ...interfac... method Trace (line 50) | func (o *OrmLogger) Trace(ctx context.Context, begin time.Time, fc fun... function NewOrmLogger (line 16) | func NewOrmLogger(logger contract.Log) *OrmLogger { FILE: framework/provider/orm/provider.go type GormProvider (line 9) | type GormProvider struct method Register (line 13) | func (h *GormProvider) Register(container framework.Container) framewo... method Boot (line 18) | func (h *GormProvider) Boot(container framework.Container) error { method IsDefer (line 23) | func (h *GormProvider) IsDefer() bool { method Params (line 28) | func (h *GormProvider) Params(container framework.Container) []interfa... method Name (line 33) | func (h *GormProvider) Name() string { FILE: framework/provider/orm/service.go type HadeGorm (line 18) | type HadeGorm struct method GetDB (line 38) | func (app *HadeGorm) GetDB(option ...contract.DBOption) (*gorm.DB, err... function NewHadeGorm (line 26) | func NewHadeGorm(params ...interface{}) (interface{}, error) { FILE: framework/provider/redis/config.go function GetBaseConfig (line 13) | func GetBaseConfig(c framework.Container) *contract.RedisConfig { function WithConfigPath (line 27) | func WithConfigPath(configPath string) contract.RedisOption { function WithRedisConfig (line 130) | func WithRedisConfig(f func(options *contract.RedisConfig)) contract.Red... FILE: framework/provider/redis/provider.go type RedisProvider (line 9) | type RedisProvider struct method Register (line 13) | func (h *RedisProvider) Register(container framework.Container) framew... method Boot (line 18) | func (h *RedisProvider) Boot(container framework.Container) error { method IsDefer (line 23) | func (h *RedisProvider) IsDefer() bool { method Params (line 28) | func (h *RedisProvider) Params(container framework.Container) []interf... method Name (line 33) | func (h *RedisProvider) Name() string { FILE: framework/provider/redis/service.go type HadeRedis (line 11) | type HadeRedis struct method GetClient (line 31) | func (app *HadeRedis) GetClient(option ...contract.RedisOption) (*redi... function NewHadeRedis (line 19) | func NewHadeRedis(params ...interface{}) (interface{}, error) { FILE: framework/provider/redis/service_test.go function TestHadeService_Load (line 13) | func TestHadeService_Load(t *testing.T) { FILE: framework/provider/ssh/config.go function GetBaseConfig (line 14) | func GetBaseConfig(c framework.Container) *contract.SSHConfig { function WithConfigPath (line 30) | func WithConfigPath(configPath string) contract.SSHOption { function WithSSHConfig (line 112) | func WithSSHConfig(f func(options *contract.SSHConfig)) contract.SSHOpti... FILE: framework/provider/ssh/provider.go type SSHProvider (line 9) | type SSHProvider struct method Register (line 13) | func (h *SSHProvider) Register(container framework.Container) framewor... method Boot (line 18) | func (h *SSHProvider) Boot(container framework.Container) error { method IsDefer (line 23) | func (h *SSHProvider) IsDefer() bool { method Params (line 28) | func (h *SSHProvider) Params(container framework.Container) []interfac... method Name (line 33) | func (h *SSHProvider) Name() string { FILE: framework/provider/ssh/service.go type HadeSSH (line 12) | type HadeSSH struct method GetClient (line 32) | func (app *HadeSSH) GetClient(option ...contract.SSHOption) (*ssh.Clie... function NewHadeSSH (line 20) | func NewHadeSSH(params ...interface{}) (interface{}, error) { FILE: framework/provider/ssh/service_test.go function TestHadeSSHService_Load (line 11) | func TestHadeSSHService_Load(t *testing.T) { FILE: framework/provider/trace/provider.go type HadeTraceProvider (line 8) | type HadeTraceProvider struct method Register (line 13) | func (provider *HadeTraceProvider) Register(c framework.Container) fra... method Boot (line 18) | func (provider *HadeTraceProvider) Boot(c framework.Container) error { method IsDefer (line 24) | func (provider *HadeTraceProvider) IsDefer() bool { method Params (line 29) | func (provider *HadeTraceProvider) Params(c framework.Container) []int... method Name (line 34) | func (provider *HadeTraceProvider) Name() string { FILE: framework/provider/trace/service.go type TraceKey (line 13) | type TraceKey type HadeTraceService (line 17) | type HadeTraceService struct method WithTrace (line 31) | func (t *HadeTraceService) WithTrace(c context.Context, trace *contrac... method GetTrace (line 42) | func (t *HadeTraceService) GetTrace(c context.Context) *contract.Trace... method NewTrace (line 56) | func (t *HadeTraceService) NewTrace() *contract.TraceContext { method StartSpan (line 80) | func (t *HadeTraceService) StartSpan(tc *contract.TraceContext) *contr... method ExtractHTTP (line 100) | func (t *HadeTraceService) ExtractHTTP(req *http.Request) *contract.Tr... method InjectHTTP (line 119) | func (t *HadeTraceService) InjectHTTP(req *http.Request, tc *contract.... method ToMap (line 127) | func (t *HadeTraceService) ToMap(tc *contract.TraceContext) map[string... function NewHadeTraceService (line 24) | func NewHadeTraceService(params ...interface{}) (interface{}, error) { FILE: framework/util/console.go function PrettyPrint (line 8) | func PrettyPrint(arr [][]string) { FILE: framework/util/console_test.go function TestPrettyPrint (line 5) | func TestPrettyPrint(t *testing.T) { FILE: framework/util/exec.go function GetExecDirectory (line 9) | func GetExecDirectory() string { function CheckProcessExist (line 18) | func CheckProcessExist(pid int) bool { FILE: framework/util/file.go function Exists (line 13) | func Exists(path string) bool { function IsHiddenDirectory (line 25) | func IsHiddenDirectory(path string) bool { function SubDir (line 30) | func SubDir(folder string) ([]string, error) { function DownloadFile (line 47) | func DownloadFile(filepath string, url string) error { function CopyFolder (line 69) | func CopyFolder(source, destination string) error { function CopyFile (line 89) | func CopyFile(source, destination string) error { FILE: framework/util/zip.go function Unzip (line 14) | func Unzip(src string, dest string) ([]string, error) { FILE: main.go function main (line 24) | func main() { FILE: test/env.go constant BasePath (line 10) | BasePath = "/Users/yejianfeng/Documents/UGit/coredemo/" function InitBaseContainer (line 13) | func InitBaseContainer() framework.Container {