capal

package
v0.0.0-...-1256235 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleHttp     = "http"
	ModuleLog      = "log"
	ModuleProducer = "producer"
	ModuleEnv      = "env"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Capal

type Capal struct {
	// contains filtered or unexported fields
}

func NewCapal

func NewCapal(httpFactory func(ctx *PluginContext) *tbhttp.TbHttp,
	logFactory func(ctx *PluginContext) *tblog.TbLog) *Capal

func (*Capal) Require

func (capal *Capal) Require(call otto.FunctionCall) otto.Value

type PluginContext

type PluginContext struct {
	Name string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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