policy

package
v0.0.0-...-e25560c Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 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 None

type None struct{}

func NewPolicyNone

func NewPolicyNone() None

func (None) Select

func (p None) Select(g map[string][]string) string

func (None) Type

func (p None) Type() PolicyType

type Policy

type Policy interface {
	Type() PolicyType
	Select(map[string][]string) string
}

type PolicyType

type PolicyType string
const (
	TypeNone PolicyType = "none"
)

Jump to

Keyboard shortcuts

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