layers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityID

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

EntityID identifies an entity for layer-scoped flag evaluation. The zero value evaluates global state.

func Entity

func Entity(entity string) EntityID

Entity creates a EntityID for the given identifier.

func (EntityID) String

func (id EntityID) String() string

String returns the underlying identifier.

type UserID

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

UserID identifies a user for layer-scoped flag evaluation. The zero value evaluates global state.

func User

func User(user string) UserID

User creates a UserID for the given identifier.

func (UserID) String

func (id UserID) String() string

String returns the underlying identifier.

Jump to

Keyboard shortcuts

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