logproxy

package
v0.0.0-...-ac22cef Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(cfg Config) http.HandlerFunc

func MakeURL

func MakeURL(baseURL, deliveryID string, timestamp time.Time, cluster string) string

Types

type Config

type Config struct {
	Projects         map[string]string
	LogLinkFormatter LogLinkFormatter
}

type LogLinkFormatter

type LogLinkFormatter int
const (
	LogLinkFormatterKibana LogLinkFormatter = iota
	LogLinkFormatterGCP
)

func ParseLogLinkFormatter

func ParseLogLinkFormatter(in string) LogLinkFormatter

Jump to

Keyboard shortcuts

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