lib

package
v2023.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPluginsList

func DefaultPluginsList() []any

DefaultPluginsList returns all the plugins that RR can run with and are included by default

Types

type RR

type RR struct {
	Version string
	// contains filtered or unexported fields
}

func NewRR

func NewRR(cfgFile string, override []string, pluginList []any) (*RR, error)

NewRR creates a new RR instance that can then be started or stopped by the caller

func (*RR) Plugins

func (rr *RR) Plugins() []string

func (*RR) Serve

func (rr *RR) Serve() error

Serve starts RR and starts listening for requests. This is a blocking call that will return an error if / when one occurs in a plugin

func (*RR) Stop

func (rr *RR) Stop()

Stop stops roadrunner

Jump to

Keyboard shortcuts

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