tuistcache

package
v0.133.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const APIMountPoint = "/tuistcache"

Variables

This section is empty.

Functions

func URL

func URL(httpCacheHost string) string

Types

type NoSecurity

type NoSecurity struct{}

func (NoSecurity) HandleAuthorization

func (NoSecurity) HandleAuthorization(ctx context.Context, _ string, _ tuistapi.Authorization) (context.Context, error)

func (NoSecurity) HandleCookie

func (NoSecurity) HandleCookie(ctx context.Context, _ string, _ tuistapi.Cookie) (context.Context, error)

type TuistCache

type TuistCache struct {
	tuistapi.UnimplementedHandler
	// contains filtered or unexported fields
}

func New

func New() (*TuistCache, error)

func (*TuistCache) DownloadCacheArtifact

func (*TuistCache) ServeHTTP

func (tc *TuistCache) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Directories

Path Synopsis
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.

Jump to

Keyboard shortcuts

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