stateinterface

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Query(scope activationscope.Scope) (state.State, error)
}

Reader retrive the current state

type Writer

type Writer interface {
	PersistEnabled(scope activationscope.Scope, coauthors []string) error
	PersistDisabled(scope activationscope.Scope) error
}

Writer persist the current state

Jump to

Keyboard shortcuts

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