runtime

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	RunScript(name string, req *http.Request) error
}

Runner is an interface for scripts runner

type Runtime

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

Runtime represents Runtime API module

func New

func New(runner Runner, logger *zap.Logger) *Runtime

New creates new Runtime API module

func (*Runtime) Handler

func (rt *Runtime) Handler(r chi.Router)

Handler creates handlers for Runtime API module

Jump to

Keyboard shortcuts

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