Documentation ¶
Index ¶
- func FindIndexOf(disposables []Disposer, name string) int
- type A
- type Broker
- type C
- type CounterGeneric
- type DisposableService1
- type DisposableService2
- type DisposableService3
- type DisposableService4
- type DisposableService5
- type Disposer
- type IHuman
- type IPerson
- type SimpleCounter
- type SimpleCounter2
- type SimpleCounterUint
- type Trader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindIndexOf ¶ added in v0.4.0
Types ¶
type CounterGeneric ¶ added in v0.6.0
type CounterGeneric[T interfaces.Numeric] struct { Counter T }
func (*CounterGeneric[T]) Add ¶ added in v0.6.0
func (c *CounterGeneric[T]) Add(number T)
func (*CounterGeneric[T]) GetCount ¶ added in v0.6.0
func (c *CounterGeneric[T]) GetCount() T
func (*CounterGeneric[T]) New ¶ added in v0.6.0
func (c *CounterGeneric[T]) New(ctx context.Context) (interfaces.SomeCounterGeneric[T], context.Context)
type DisposableService1 ¶
type DisposableService1 struct {
Name string
}
func (*DisposableService1) Dispose ¶
func (*DisposableService1) Dispose()
func (*DisposableService1) String ¶
func (this *DisposableService1) String() string
type DisposableService2 ¶
type DisposableService2 struct {
Name string
}
func (*DisposableService2) Dispose ¶
func (*DisposableService2) Dispose()
func (*DisposableService2) String ¶
func (this *DisposableService2) String() string
type DisposableService3 ¶
type DisposableService3 struct {
Name string
}
func (*DisposableService3) Dispose ¶
func (*DisposableService3) Dispose()
func (*DisposableService3) String ¶
func (this *DisposableService3) String() string
type DisposableService4 ¶
type DisposableService4 struct {
Name string
}
func (*DisposableService4) Dispose ¶
func (*DisposableService4) Dispose()
func (*DisposableService4) String ¶
func (this *DisposableService4) String() string
type DisposableService5 ¶ added in v0.4.0
type DisposableService5 struct {
Name string
}
func (*DisposableService5) Dispose ¶ added in v0.4.0
func (*DisposableService5) Dispose()
func (*DisposableService5) String ¶ added in v0.4.0
func (this *DisposableService5) String() string
type SimpleCounter ¶ added in v0.6.0
type SimpleCounter struct {
Counter int
}
func (*SimpleCounter) AddOne ¶ added in v0.6.0
func (c *SimpleCounter) AddOne()
func (*SimpleCounter) GetCount ¶ added in v0.6.0
func (c *SimpleCounter) GetCount() int
func (*SimpleCounter) New ¶ added in v0.6.0
func (c *SimpleCounter) New(ctx context.Context) (interfaces.SomeCounter, context.Context)
type SimpleCounter2 ¶ added in v0.6.0
type SimpleCounter2 struct {
Counter int
}
func (*SimpleCounter2) AddOne ¶ added in v0.6.0
func (c *SimpleCounter2) AddOne()
func (*SimpleCounter2) GetCount ¶ added in v0.6.0
func (c *SimpleCounter2) GetCount() int
func (*SimpleCounter2) New ¶ added in v0.6.0
func (c *SimpleCounter2) New(ctx context.Context) (interfaces.SomeCounter, context.Context)
type SimpleCounterUint ¶ added in v0.6.0
type SimpleCounterUint struct {
Counter uint
}
func (*SimpleCounterUint) Add ¶ added in v0.6.0
func (this *SimpleCounterUint) Add(number uint)
func (*SimpleCounterUint) GetCount ¶ added in v0.6.0
func (this *SimpleCounterUint) GetCount() uint
Click to show internal directories.
Click to hide internal directories.