Documentation ¶
Index ¶
- Variables
- func NewDaemonsClusterWithBroadcast(size int, daemon Daemon) (broadcast Daemon, cluster Daemon)
- type Actor
- type ActorFn
- func (fn ActorFn) AsActor() Actor
- func (fn ActorFn) AsActorFn() ActorFn
- func (fn ActorFn) AsDaemon() Daemon
- func (fn ActorFn) AsDaemonFn() DaemonFn
- func (fn ActorFn) Call(ctx context.Context, in interface{}) (out interface{}, err error)
- func (fn ActorFn) ConnectActor(actor Actor) Actor
- func (fn ActorFn) ConnectDaemon(daemon Daemon) Daemon
- func (fn ActorFn) Run(ctx context.Context) (Daemon, error)
- type ActorsConnector
- type Daemon
- type DaemonFn
- type DaemonsConnector
- type LogActor
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorInputFormat = fmt.Errorf("error input format")
Functions ¶
Types ¶
type Actor ¶
type ActorFn ¶
func (ActorFn) AsDaemonFn ¶
func (ActorFn) ConnectActor ¶
func (ActorFn) ConnectDaemon ¶
type ActorsConnector ¶
type ActorsConnector interface { Actor From() Actor To() Actor AsActorsConnector() ActorsConnector }
func NewActorsConnector ¶
func NewActorsConnector(from Actor, to Actor) ActorsConnector
type Daemon ¶
type Daemon interface { AsDaemon() Daemon Run(ctx context.Context) (Daemon, error) AsDaemonFn() DaemonFn SetIn(chan interface{}) Daemon SetOut(chan interface{}) Daemon SetErr(chan error) Daemon In() chan interface{} Out() chan interface{} Err() chan error DisableCloseChannelsOnStop(disabled bool) Close() Stop() Wait() IsLaunched() bool Clone() Daemon ConnectActor(Actor) Daemon ConnectDaemon(Daemon) Daemon }
func NewDaemonsCluster ¶
func NullReaderDaemon ¶
func NullReaderDaemon() Daemon
type DaemonsConnector ¶
type DaemonsConnector interface { Daemon From() Daemon To() Daemon AsDaemonsConnector() DaemonsConnector }
func NewActorDaemonConnector ¶
func NewActorDaemonConnector(from Actor, to Daemon) DaemonsConnector
func NewDaemonActorConnector ¶
func NewDaemonActorConnector(from Daemon, to Actor) DaemonsConnector
func NewDaemonsConnector ¶
func NewDaemonsConnector(from Daemon, to Daemon) DaemonsConnector
type LogActor ¶
type LogActor struct {
// contains filtered or unexported fields
}
func NewLogActor ¶
func (*LogActor) LogRestoreDaemon ¶
in: nothing out: interface{} from createStruct
func (*LogActor) SetDisabledWrite ¶
Click to show internal directories.
Click to hide internal directories.