models

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIndexOf added in v0.4.0

func FindIndexOf(disposables []Disposer, name string) int

Types

type A added in v0.6.0

type A struct {
	C *C
}

type Broker

type Broker struct {
	Name string

} //implements IPerson

type C added in v0.6.0

type C struct {
	Counter int
}

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

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 Disposer

type Disposer interface {
	fmt.Stringer
	Dispose()
}

type IHuman

type IHuman interface{}

type IPerson

type IPerson interface{}

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

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

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

type Trader

type Trader struct {
	Name string

} //implements IPerson

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL