Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface { // CmdFactory return a new command based on the .rr.yaml server.command section CmdFactory(env map[string]string) func() *exec.Cmd // NewWorker return a new worker with provided and attached by the user listeners and environment variables NewWorker(ctx context.Context, env map[string]string) (*worker.Process, error) // NewWorkerPool return new pool of workers (PHP) with attached events listeners, env variables and based on the provided configuration NewWorkerPool(ctx context.Context, opt *pool.Config, env map[string]string, options ...pool.Options) (pool.Pool, error) }
Server creates workers for the application.
Click to show internal directories.
Click to hide internal directories.