Documentation ¶
Index ¶
- Variables
- func AddScopedIOauth2(builder *di.Builder, implType reflect.Type)
- func AddScopedIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func AddSingletonIOauth2(builder *di.Builder, implType reflect.Type)
- func AddSingletonIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func AddSingletonIOauth2ByObj(builder *di.Builder, obj interface{})
- func AddTransientIOauth2(builder *di.Builder, implType reflect.Type)
- func AddTransientIOauth2ByFunc(builder *di.Builder, implType reflect.Type, ...)
- func RemoveAllIOauth2(builder *di.Builder)
- type IOauth2
Constants ¶
This section is empty.
Variables ¶
View Source
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))
AddScopedIOauth2ByFunc adds a type by a custom func
func AddSingletonIOauth2 ¶
AddSingletonIOauth2 adds a type that implements IOauth2
func AddSingletonIOauth2ByFunc ¶
func AddSingletonIOauth2ByFunc(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error))
AddSingletonIOauth2ByFunc adds a type by a custom func
func AddSingletonIOauth2ByObj ¶
AddSingletonIOauth2ByObj adds a prebuilt obj
func AddTransientIOauth2 ¶
AddTransientIOauth2 adds a type that implements IOauth2
func AddTransientIOauth2ByFunc ¶
func AddTransientIOauth2ByFunc(builder *di.Builder, implType reflect.Type, build func(ctn di.Container) (interface{}, error))
AddTransientIOauth2ByFunc adds a type by a custom func
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
Click to show internal directories.
Click to hide internal directories.