anonymizer

package
v0.0.0-...-d6652e8 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnonymizePayload

func AnonymizePayload(r io.Reader) io.Reader

func ForwardRequest

func ForwardRequest(w http.ResponseWriter, r *http.Request)

func Listen

func Listen(ctx context.Context) error

Listen initializes an HTTP server with a predefined configuration and begins listening for incoming requests. On receiving a termination signal in the provided context, it shuts down the server gracefully. It returns an error if the server fails to start or encounters an issue while running.

func Start

func Start(ctx context.Context, wg *sync.WaitGroup)

Types

type Component

type Component struct{}

func NewComponent

func NewComponent() *Component

func (*Component) Name

func (d *Component) Name() string

func (*Component) Start

func (d *Component) Start(ctx context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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