supervisor

package
v0.0.0-...-fb28d3e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client supervisor client

func New

func New(consumerForwarderMapping []mapping.ConsumerForwarderMapping) Client

New client for supervisor

func (*Client) Check

func (c *Client) Check(w http.ResponseWriter, r *http.Request)

Check checks running consumers

func (*Client) Restart

func (c *Client) Restart(w http.ResponseWriter, r *http.Request)

Restart restarts every consumer

func (*Client) Start

func (c *Client) Start() error

Start starts supervisor

Jump to

Keyboard shortcuts

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