endpoints

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BlackboxMethod is the HTTP method this endpoint is register for.
	BlackboxMethod = "GET"
	// BlackboxName identifies the endpoint. It is aligned to the package path.
	BlackboxName = "blackbox"
	// BlackboxPath is the HTTP request path this endpoint is registered for.
	BlackboxPath = "/blackbox"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Blackbox

type Blackbox struct {
}

func NewBlackbox

func NewBlackbox(config BlackboxConfig) (*Blackbox, error)

func (*Blackbox) Decoder

func (b *Blackbox) Decoder() kithttp.DecodeRequestFunc

func (*Blackbox) Encoder

func (b *Blackbox) Encoder() kithttp.EncodeResponseFunc

func (*Blackbox) Endpoint

func (b *Blackbox) Endpoint() kitendpoint.Endpoint

func (*Blackbox) Method

func (b *Blackbox) Method() string

func (*Blackbox) Middlewares

func (b *Blackbox) Middlewares() []kitendpoint.Middleware

func (*Blackbox) Name

func (b *Blackbox) Name() string

func (*Blackbox) Path

func (b *Blackbox) Path() string

type BlackboxConfig

type BlackboxConfig struct {
}

Jump to

Keyboard shortcuts

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