action

package
v0.0.0-...-bfae2a7 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-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 Action

type Action interface {
	ApplyOnHeaders(http.Header, string)
	ApplyOnMetadata(map[string]string, string)
}

type Delete

type Delete struct {
	Key string
}

func (Delete) ApplyOnHeaders

func (a Delete) ApplyOnHeaders(header http.Header, _ string)

func (Delete) ApplyOnMetadata

func (a Delete) ApplyOnMetadata(metadata map[string]string, _ string)

type Insert

type Insert struct {
	Key string
}

func (Insert) ApplyOnHeaders

func (a Insert) ApplyOnHeaders(header http.Header, value string)

func (Insert) ApplyOnMetadata

func (a Insert) ApplyOnMetadata(metadata map[string]string, value string)

type Update

type Update struct {
	Key string
}

func (Update) ApplyOnHeaders

func (a Update) ApplyOnHeaders(header http.Header, value string)

func (Update) ApplyOnMetadata

func (a Update) ApplyOnMetadata(metadata map[string]string, value string)

type Upsert

type Upsert struct {
	Key string
}

func (Upsert) ApplyOnHeaders

func (a Upsert) ApplyOnHeaders(header http.Header, value string)

func (Upsert) ApplyOnMetadata

func (a Upsert) ApplyOnMetadata(metadata map[string]string, value string)

Jump to

Keyboard shortcuts

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