state

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

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 (*State) GetNewSequenceKey

func (s *State) GetNewSequenceKey() string

func (*State) GetState

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

func (*State) InitializeSequences added in v1.0.1

func (s *State) InitializeSequences(incomingState map[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