http

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAPI

type ServiceAPI interface {
	// AddResponseHeader adds a new header entry for the handler's response.
	AddResponseHeader(ctx context.Context, key, value string)

	// SetResponseCode sets a custom response code for the handler's response.
	SetResponseCode(ctx context.Context, code int)
}

Jump to

Keyboard shortcuts

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