state

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	State   map[string]string
	RWMutex sync.RWMutex
}

func NewState

func NewState() *State

func NewStateFromState

func NewStateFromState(incomingState map[string]string) *State

func (*State) GetNewSequenceKey

func (s *State) GetNewSequenceKey() string

func (*State) GetState

func (s *State) GetState(key string) string

func (*State) PatchState

func (s *State) PatchState(toPatch map[string]string)

func (*State) RemoveState

func (s *State) RemoveState(toRemove []string)

func (*State) SetState

func (s *State) SetState(state map[string]string)

Jump to

Keyboard shortcuts

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