Documentation ¶
Index ¶
- Variables
- func AddScopedIOauth2(builder *di.Builder, implType reflect.Type, implementedTypes ...reflect.Type)
- func AddScopedIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func AddScopedIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, ...)
- func AddScopedIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, ...)
- func AddSingletonIOauth2(builder *di.Builder, implType reflect.Type, implementedTypes ...reflect.Type)
- func AddSingletonIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func AddSingletonIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, ...)
- func AddSingletonIOauth2ByObj(builder *di.Builder, obj interface{}, implementedTypes ...reflect.Type)
- func AddSingletonIOauth2ByObjWithMetadata(builder *di.Builder, obj interface{}, metaData map[string]interface{}, ...)
- func AddSingletonIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, ...)
- func AddTransientIOauth2(builder *di.Builder, implType reflect.Type, implementedTypes ...reflect.Type)
- func AddTransientIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func AddTransientIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, ...)
- func AddTransientIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, ...)
- func GetIOauth2Definition(ctn di.Container) *di.Def
- func GetIOauth2Definitions(ctn di.Container) []*di.Def
- func RemoveAllIOauth2(builder *di.Builder)
- type IOauth2
Constants ¶
This section is empty.
Variables ¶
var ReflectTypeIOauth2 = di.GetInterfaceReflectType((*IOauth2)(nil))
ReflectTypeIOauth2 used when your service claims to implement IOauth2
Functions ¶
func AddScopedIOauth2 ¶
AddScopedIOauth2 adds a type that implements IOauth2
func AddScopedIOauth2ByFunc ¶
func AddScopedIOauth2ByFunc(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), implementedTypes ...reflect.Type)
AddScopedIOauth2ByFunc adds a type by a custom func
func AddScopedIOauth2ByFuncWithMetadata ¶ added in v0.1.217
func AddScopedIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddScopedIOauth2ByFuncWithMetadata adds a type by a custom func
func AddScopedIOauth2WithMetadata ¶ added in v0.1.217
func AddScopedIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddScopedIOauth2WithMetadata adds a type that implements IOauth2
func AddSingletonIOauth2 ¶
func AddSingletonIOauth2(builder *di.Builder, implType reflect.Type, implementedTypes ...reflect.Type)
AddSingletonIOauth2 adds a type that implements IOauth2
func AddSingletonIOauth2ByFunc ¶
func AddSingletonIOauth2ByFunc(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), implementedTypes ...reflect.Type)
AddSingletonIOauth2ByFunc adds a type by a custom func
func AddSingletonIOauth2ByFuncWithMetadata ¶ added in v0.1.217
func AddSingletonIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddSingletonIOauth2ByFuncWithMetadata adds a type by a custom func
func AddSingletonIOauth2ByObj ¶
func AddSingletonIOauth2ByObj(builder *di.Builder, obj interface{}, implementedTypes ...reflect.Type)
AddSingletonIOauth2ByObj adds a prebuilt obj
func AddSingletonIOauth2ByObjWithMetadata ¶ added in v0.1.217
func AddSingletonIOauth2ByObjWithMetadata(builder *di.Builder, obj interface{}, metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddSingletonIOauth2ByObjWithMetadata adds a prebuilt obj
func AddSingletonIOauth2WithMetadata ¶ added in v0.1.217
func AddSingletonIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddSingletonIOauth2WithMetadata adds a type that implements IOauth2
func AddTransientIOauth2 ¶
func AddTransientIOauth2(builder *di.Builder, implType reflect.Type, implementedTypes ...reflect.Type)
AddTransientIOauth2 adds a type that implements IOauth2
func AddTransientIOauth2ByFunc ¶
func AddTransientIOauth2ByFunc(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), implementedTypes ...reflect.Type)
AddTransientIOauth2ByFunc adds a type by a custom func
func AddTransientIOauth2ByFuncWithMetadata ¶ added in v0.1.217
func AddTransientIOauth2ByFuncWithMetadata(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error), metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddTransientIOauth2ByFuncWithMetadata adds a type by a custom func
func AddTransientIOauth2WithMetadata ¶ added in v0.1.217
func AddTransientIOauth2WithMetadata(builder *di.Builder, implType reflect.Type, metaData map[string]interface{}, implementedTypes ...reflect.Type)
AddTransientIOauth2WithMetadata adds a type that implements IOauth2
func GetIOauth2Definition ¶ added in v0.1.217
GetIOauth2Definition returns that last definition registered that this container can provide
func GetIOauth2Definitions ¶ added in v0.1.217
GetIOauth2Definitions returns all definitions that this container can provide
func RemoveAllIOauth2 ¶ added in v0.1.144
RemoveAllIOauth2 removes all IOauth2 from the DI
Types ¶
type IOauth2 ¶
type IOauth2 interface { }
IOauth2 contract
func GetIOauth2FromContainer ¶
GetIOauth2FromContainer alternative to SafeGetIOauth2FromContainer but panics of object is not present
func GetManyIOauth2FromContainer ¶ added in v0.1.178
GetManyIOauth2FromContainer alternative to SafeGetManyIOauth2FromContainer but panics of object is not present
func SafeGetIOauth2FromContainer ¶
SafeGetIOauth2FromContainer trys to get the object by type, will not panic, returns nil and error