Documentation ¶
Index ¶
- Constants
- type Controller
- func (ctrl *Controller) APIHandler(*http.Request, []string) ([]byte, error)
- func (ctrl *Controller) DeployPkg(pkg *multipart.FileHeader) error
- func (ctrl *Controller) GetAssetLink(ID noid.Identifier) (string, error)
- func (ctrl *Controller) GetFunctionInfo(ID noid.Identifier) (shared.FunctionInfo, error)
- func (ctrl *Controller) GetNodeVersion() shared.NodeVersion
- func (ctrl *Controller) HandleMessage(msg *shared.NetMsg) error
- func (ctrl *Controller) Init() error
- func (ctrl *Controller) Version() int
- type Registry
Constants ¶
View Source
const ( //Version of this package Version int = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Node *shared.NodeCfg Logger shared.LoggerInterface }
func (*Controller) APIHandler ¶
func (*Controller) DeployPkg ¶
func (ctrl *Controller) DeployPkg(pkg *multipart.FileHeader) error
func (*Controller) GetAssetLink ¶
func (ctrl *Controller) GetAssetLink(ID noid.Identifier) (string, error)
func (*Controller) GetFunctionInfo ¶
func (ctrl *Controller) GetFunctionInfo(ID noid.Identifier) (shared.FunctionInfo, error)
func (*Controller) GetNodeVersion ¶
func (ctrl *Controller) GetNodeVersion() shared.NodeVersion
func (*Controller) HandleMessage ¶
func (ctrl *Controller) HandleMessage(msg *shared.NetMsg) error
func (*Controller) Init ¶
func (ctrl *Controller) Init() error
func (*Controller) Version ¶
func (ctrl *Controller) Version() int
Click to show internal directories.
Click to hide internal directories.