api

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods

func Methods() []string

Methods returns module methods

func ModuleName

func ModuleName() string

ModuleName returns the module name

Types

type API

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

API represents API core module

func New

func New() *API

New creates new API core module

func (*API) FillData

func (a *API) FillData(req *http.Request) error

FillData inits module data

func (*API) GetLoader

func (a *API) GetLoader(_ modules.Job) lua.LGFunction

GetLoader returns the lua loader

func (*API) Name

func (a *API) Name() string

Name returns the module name

func (*API) Stop

func (a *API) Stop() error

Stop the module

Jump to

Keyboard shortcuts

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