scripting

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Script

type Script struct {
	service.BaseService
	SourceType string
	// contains filtered or unexported fields
}

Script is the Service that handles access to the Script data source.

func NewScript

func NewScript(script string, sys systems.System) *Script

NewScript returns he object initialized, but not yet started.

func (*Script) Description

func (s *Script) Description() string

Description implements the Service interface.

func (*Script) OnStart

func (s *Script) OnStart() error

OnStart implements the Service interface.

func (*Script) OnStop

func (s *Script) OnStop() error

OnStop implements the Service interface.

Jump to

Keyboard shortcuts

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