Documentation ¶
Index ¶
- Constants
- func GetDiByCtx(ctx context.Context) interface{}
- func IniConfByEnv(path, env string, di interface{})
- func InitConfByByte(b []byte, di interface{})
- func InitConfByFile(f string, di interface{})
- func InitConfByUri(uri string, di interface{}) error
- func InitDefaultConf(path string, di interface{})
Constants ¶
View Source
const (
CtxServDiKey = util.CtxKey("ServiceDI")
)
Variables ¶
This section is empty.
Functions ¶
func GetDiByCtx ¶ added in v1.0.0
func InitConfByByte ¶ added in v1.0.0
func InitConfByByte(b []byte, di interface{})
func InitConfByFile ¶
func InitConfByFile(f string, di interface{})
func InitConfByUri ¶ added in v0.17.5
func InitDefaultConf ¶
func InitDefaultConf(path string, di interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.