api

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.16.0

type Client struct {
	*rest.Client
}

func NewReverseProxyClient added in v0.16.0

func NewReverseProxyClient() *Client

func (*Client) AddRedirect added in v0.16.0

func (c *Client) AddRedirect(ctx context.Context, redirect types.ProxyRedirect) *api.Error

func (*Client) GetRedirects added in v0.16.0

func (c *Client) GetRedirects(ctx context.Context) ([]types.ProxyRedirect, *api.Error)

func (*Client) RemoveRedirect added in v0.16.0

func (c *Client) RemoveRedirect(ctx context.Context, id string) *api.Error

Jump to

Keyboard shortcuts

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