http

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	plugin.Entry
	// contains filtered or unexported fields
}

func New

func New() *Client

func (*Client) AddResponseHeader

func (c *Client) AddResponseHeader(ctx context.Context, key, value string)

func (*Client) CanBeInitialized

func (c *Client) CanBeInitialized(options *plugin.CanBeInitializedOptions) bool

func (*Client) Fields

func (c *Client) Fields() []loggerApi.Attribute

func (*Client) Initialize

func (c *Client) Initialize(_ context.Context, opt *plugin.InitializeOptions) error

func (*Client) SetResponseCode

func (c *Client) SetResponseCode(ctx context.Context, code int)

Jump to

Keyboard shortcuts

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