crproxy

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 9 Imported by: 0

README

crproxy

CRProxy (Container Registry Proxy)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRProxy

type CRProxy struct {
	// contains filtered or unexported fields
}

func NewCRProxy

func NewCRProxy(opts ...Option) *CRProxy

func (*CRProxy) ServeHTTP

func (c *CRProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type Logger

type Logger interface {
	Println(v ...interface{})
}

type Option added in v0.0.4

type Option func(c *CRProxy)

func WithBaseClient added in v0.0.4

func WithBaseClient(baseClient *http.Client) Option

func WithLogger added in v0.0.4

func WithLogger(logger Logger) Option

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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