Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinTonic ¶
type GinTonic interface { context.Context //generic GinContext() *gin.Context CancelOnSignal(s ...os.Signal) //gin context metadata Set(key string, value interface{}) Get(key string) (value interface{}, exists bool) MustGet(key string) interface{} GetString(key string) (s string) GetBool(key string) (b bool) GetInt(key string) (i int) GetInt64(key string) (i64 int64) GetFloat64(key string) (f64 float64) GetTime(key string) (t time.Time) GetDuration(key string) (d time.Duration) GetStringSlice(key string) (ss []string) GetStringMap(key string) (sm map[string]interface{}) GetStringMapString(key string) (sms map[string]string) GetStringMapStringSlice(key string) (smss map[string][]string) SetLogger(log liblog.FuncLog) }
Click to show internal directories.
Click to hide internal directories.