github.com/wfusion/gofusion@v1.1.14/context/consts.go (about)

     1  package context
     2  
     3  import "errors"
     4  
     5  const (
     6  	KeyLangs        = "base:langs"
     7  	KeyUserID       = "base:user_id"
     8  	KeyTraceID      = "base:trace_id"
     9  	KeyLoggable     = "base:loggable"
    10  	KeyLogFields    = "base:log_fields"
    11  	KeyGormDB       = "base:gorm_db"
    12  	KeyDALOption    = "base:dal_option"
    13  	KeyCronTaskID   = "base:cron_task_id"
    14  	KeyCronTaskName = "base:cron_task_name"
    15  )
    16  
    17  var (
    18  	ErrUnknownInstantiationMethod = errors.New("unknown instantiation method")
    19  )