loader

package
v0.0.0-...-17a5fe9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(plugin *plugins.Plugin)

Types

type Loader

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

func NewLoader

func NewLoader(plugin *plugins.Plugin) *Loader

func (*Loader) ActionFilterRequest

func (this *Loader) ActionFilterRequest(action *messages.FilterRequestAction)

对Request进行过滤

func (*Loader) ActionFilterResponse

func (this *Loader) ActionFilterResponse(action *messages.FilterResponseAction)

对Response进行过滤

func (*Loader) ActionReload

func (this *Loader) ActionReload(action *messages.ReloadAction)

func (*Loader) ActionReloadApp

func (this *Loader) ActionReloadApp(action *messages.ReloadAppAction)

刷新单个App

func (*Loader) ActionReloadApps

func (this *Loader) ActionReloadApps(action *messages.ReloadAppsAction)

刷新所有的Apps

func (*Loader) ActionStart

func (this *Loader) ActionStart(action *messages.StartAction)

func (*Loader) ActionStop

func (this *Loader) ActionStop(action *messages.StartAction)

func (*Loader) CallAction

func (this *Loader) CallAction(ptr interface{}, messageId uint32) error

func (*Loader) Debug

func (this *Loader) Debug()

func (*Loader) Load

func (this *Loader) Load()

func (*Loader) Write

func (this *Loader) Write(action messages.ActionInterface) error

type PipeInterface

type PipeInterface interface {
	Read([]byte) (n int, err error)
	Write([]byte) (n int, err error)
}

Jump to

Keyboard shortcuts

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