Versions in this module Expand all Collapse all v11 v11.1.1 Jan 16, 2019 v11.1.0 Nov 18, 2018 Changes in this version + var DefaultHijacker Hijacker + var DefaultTypeChecker TypeChecker + var EmptyIn = []reflect.Value + func IndirectType(typ reflect.Type) reflect.Type + func IndirectValue(v reflect.Value) reflect.Value + func IsFunc(kindable interface{ ... }) bool + func IsZero(v reflect.Value) bool + func LookupNonZeroFieldsValues(v reflect.Value, skipUnexported bool) (bindValues []reflect.Value) + func MakeReturnValue(fn reflect.Value, goodFunc TypeChecker) (func([]reflect.Value) reflect.Value, reflect.Type, error) + func NumFields(elemTyp reflect.Type, skipUnexported bool) int + func ValueOf(o interface{}) reflect.Value + func ValuesOf(valuesAsInterface []interface{}) (values []reflect.Value) + type BindObject struct + BindType BindType + ReturnValue func([]reflect.Value) reflect.Value + Type reflect.Type + Value reflect.Value + func MakeBindObject(v reflect.Value, goodFunc TypeChecker) (b BindObject, err error) + func (b *BindObject) Assign(ctx []reflect.Value, toSetter func(reflect.Value)) + func (b *BindObject) IsAssignable(to reflect.Type) bool + type BindType uint32 + const Dynamic + const Static + type D struct + func New() *D + func (d *D) Clone() *D + func (d *D) Func(fn interface{}) *FuncInjector + func (d *D) GoodFunc(fn TypeChecker) *D + func (d *D) Hijack(fn Hijacker) *D + func (d *D) Struct(s interface{}) *StructInjector + type FuncInjector struct + Has bool + Length int + func Func(fn interface{}, values ...reflect.Value) *FuncInjector + func MakeFuncInjector(fn reflect.Value, hijack Hijacker, goodFunc TypeChecker, ...) *FuncInjector + func (s *FuncInjector) Call(ctx ...reflect.Value) []reflect.Value + func (s *FuncInjector) Inject(in *[]reflect.Value, ctx ...reflect.Value) + func (s *FuncInjector) Retry(retryFn func(inIndex int, inTyp reflect.Type) (reflect.Value, bool)) bool + func (s *FuncInjector) String() (trace string) + type Hijacker func(reflect.Type) (*BindObject, bool) + type Scope uint8 + const Singleton + const Stateless + type StructInjector struct + CanInject bool + Has bool + Scope Scope + func MakeStructInjector(v reflect.Value, hijack Hijacker, goodFunc TypeChecker, ...) *StructInjector + func Struct(s interface{}, values ...reflect.Value) *StructInjector + func (s *StructInjector) Acquire() reflect.Value + func (s *StructInjector) AcquireSlice() []reflect.Value + func (s *StructInjector) Inject(dest interface{}, ctx ...reflect.Value) + func (s *StructInjector) InjectElem(destElem reflect.Value, ctx ...reflect.Value) + func (s *StructInjector) String() (trace string) + type TypeChecker func(reflect.Type) bool + type Values []reflect.Value + func NewValues() Values + func (bv *Values) Add(values ...interface{}) + func (bv *Values) AddOnce(value interface{}) bool + func (bv *Values) AddValues(values ...reflect.Value) + func (bv *Values) Remove(value interface{}, n int) bool + func (bv Values) Clone() Values + func (bv Values) CloneWithFieldsOf(s interface{}) Values + func (bv Values) Has(value interface{}) bool + func (bv Values) Len() int Other modules containing this package gopkg.in/kataras/iris.v10