service

package
v1.0.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Kind() string
	URI() string

	Start() error

	HandleRequest(ctx context.Context, payload []byte) ([]byte, error)
}

func New

func New(logger logr.Logger, actions []proto.Action, probes []proto.Probe) ([]Service, error)

Jump to

Keyboard shortcuts

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