bindingproxy

package
v0.0.0-...-611bec0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMux

func NewMux(services Services) *http.ServeMux

Types

type Grant

type Grant struct {
	Grantee  string
	Services Services
}

type Served

type Served struct {
	Address  string
	Sessions []Session
	// contains filtered or unexported fields
}

func Serve

func Serve(grants []Grant, report func(error)) (Served, error)

func (Served) Close

func (s Served) Close() error

func (Served) Env

func (s Served) Env(grantee string) []string

type Session

type Session struct {
	Grantee string
	Token   string
}

Jump to

Keyboard shortcuts

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