engine

package
v0.0.0-...-b006faa Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

View Source
const VERSION = "1.20 (perception)"

Variables

This section is empty.

Functions

func CommandBase

func CommandBase(line string, s *session.Session) bool

Checking If Input As Default Command

func GenerateEnv

func GenerateEnv(path string) (string, error)

func Load

func Load(id int) *session.Session

Load Session With ID

func New

func New() *session.Session

Generate New Session

func ViewApiInformation

func ViewApiInformation(s *session.Session)

View Api EndPoints Information

func ViewEnvironment

func ViewEnvironment(s *session.Session)

View Environment File Argument

func ViewInformation

func ViewInformation(s *session.Session)

View Session Information

Types

type EnvParam

type EnvParam struct {
	Name  string
	Value string
}

type Environment

type Environment struct {
	Param []EnvParam
}

func (*Environment) Add

func (e *Environment) Add(name string, value string)

type Files

type Files struct {
	Config string `json:"config"`
	Job    string `json:"job"`
	Base   string `json:"base"`
	Export string `json:"export"`
}

func Preload

func Preload() (Files, error)

Jump to

Keyboard shortcuts

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