github.com/gogf/gf/v2@v2.7.4/internal/consts/consts.go (about)

     1  // Copyright GoFrame gf Author(https://goframe.org). All Rights Reserved.
     2  //
     3  // This Source Code Form is subject to the terms of the MIT License.
     4  // If a copy of the MIT was not distributed with this file,
     5  // You can obtain one at https://github.com/gogf/gf.
     6  
     7  // Package consts defines constants that are shared all among packages of framework.
     8  package consts
     9  
    10  const (
    11  	ConfigNodeNameDatabase        = "database"
    12  	ConfigNodeNameLogger          = "logger"
    13  	ConfigNodeNameRedis           = "redis"
    14  	ConfigNodeNameViewer          = "viewer"
    15  	ConfigNodeNameServer          = "server"     // General version configuration item name.
    16  	ConfigNodeNameServerSecondary = "httpserver" // New version configuration item name support from v2.
    17  
    18  	// StackFilterKeyForGoFrame is the stack filtering key for all GoFrame module paths.
    19  	// Eg: .../pkg/mod/github.com/gogf/gf/v2@v2.0.0-20211011134327-54dd11f51122/debug/gdebug/gdebug_caller.go
    20  	StackFilterKeyForGoFrame = "github.com/gogf/gf/"
    21  )