controller

package
v0.4.7-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController() node.Initializer

NewController returns a new controller initializer

Types

type InitAction

type InitAction struct {
}

InitAction is an action to initialize the shuffle protocol

- implements node.ActionTemplate

func (*InitAction) Execute

func (a *InitAction) Execute(ctx node.Context) error

Execute implements node.ActionTemplate. It creates an actor from the neffShuffle instance

type RegisterHandlersAction

type RegisterHandlersAction struct {
}

RegisterHandlersAction is an action that registers the proxy handlers

- implements node.ActionTemplate

func (*RegisterHandlersAction) Execute

func (a *RegisterHandlersAction) Execute(ctx node.Context) error

Execute implements node.ActionTemplate. It registers the proxy handlers to set up forms

Jump to

Keyboard shortcuts

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