feature

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateFunc

type ActivateFunc func(*context.Context, string) (bool, error)

type DeactivateFunc

type DeactivateFunc func(*context.Context, string)

type Feature

type Feature struct {
	Name       string
	Activate   ActivateFunc
	Deactivate DeactivateFunc
}

Feature is the implementation of an environment feature.

Jump to

Keyboard shortcuts

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