state

package
v0.0.0-...-b412c78 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 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 LastContext

type LastContext struct {
	// contains filtered or unexported fields
}

func NewStateReaderWriter

func NewStateReaderWriter(rw stateReaderWriter) *LastContext

func (*LastContext) ReadLastContextDisplayName

func (lc *LastContext) ReadLastContextDisplayName() string

func (*LastContext) ReadLastContextId

func (lc *LastContext) ReadLastContextId() string

func (*LastContext) WriteLastContext

func (lc *LastContext) WriteLastContext(id string, name string)

type ViperAdapter

type ViperAdapter struct {
	Viper *viper.Viper
}

func (*ViperAdapter) Read

func (v *ViperAdapter) Read(key string) string

func (*ViperAdapter) Write

func (v *ViperAdapter) Write(key, value string)

Jump to

Keyboard shortcuts

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