Help us shape the future of Go! Take the 2026 Go Developer Survey

httpsubject

package
v0.1.0-rc.41 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

package httpsubject names the authorization boundary of an HTTP frontend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind string
const (
	PublicURL Kind = "public_url"
	Service   Kind = "service"
)

type Subject

type Subject struct {
	Kind Kind   `json:"kind"`
	ID   string `json:"id"`
}

Subject never infers scope from a hostname or a certificate.

func (Subject) Valid

func (s Subject) Valid() bool

Jump to

Keyboard shortcuts

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