protoactor-go: github.com/AsynkronIT/protoactor-go/plugin Index | Files

package plugin

import "github.com/AsynkronIT/protoactor-go/plugin"

Index

Package Files

passivation.go plugin.go

func Use Uses

func Use(plugin plugin) func(next actor.ActorFunc) actor.ActorFunc

type PassivationAware Uses

type PassivationAware interface {
    Init(*actor.PID, time.Duration)
    Reset(time.Duration)
    Cancel()
}

type PassivationHolder Uses

type PassivationHolder struct {
    // contains filtered or unexported fields
}

func (*PassivationHolder) Cancel Uses

func (state *PassivationHolder) Cancel()

func (*PassivationHolder) Init Uses

func (state *PassivationHolder) Init(pid *actor.PID, duration time.Duration)

func (*PassivationHolder) Reset Uses

func (state *PassivationHolder) Reset(duration time.Duration)

type PassivationPlugin Uses

type PassivationPlugin struct {
    Duration time.Duration
}

func (*PassivationPlugin) OnOtherMessage Uses

func (pp *PassivationPlugin) OnOtherMessage(ctx actor.Context, msg interface{})

func (*PassivationPlugin) OnStart Uses

func (pp *PassivationPlugin) OnStart(ctx actor.Context)

Package plugin imports 3 packages (graph). Updated 2017-02-02. Refresh now. Tools for package owners.