Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SummonType ¶
type SummonType int
const ( Call SummonType // Call happens once at the beginning of the program Recall // Recall happens when the program is requested to be reloaded Kill // Kill happens when the program is killed )
type Summoner ¶
type Summoner interface {
Summon(ctx context.Context, summonType SummonType) error
}
type SummonerFunc ¶
type SummonerFunc func(ctx context.Context, summonType SummonType) error
func (SummonerFunc) Summon ¶
func (f SummonerFunc) Summon(ctx context.Context, summonType SummonType) error
Click to show internal directories.
Click to hide internal directories.