brickmap

package
v0.0.3-alpha29 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrickMap

type BrickMap interface {
	Set(keyPath []string, value interface{}) error
	Get(keyPath []string) (interface{}, bool)
	ToFlatMap() (map[string]interface{}, bool)
	Delete(keyPath []string) bool
}

func NewBrickMap

func NewBrickMap(cfg BrickMapConfig) BrickMap

type BrickMapConfig

type BrickMapConfig interface {
	GetStringifiedPaths() map[string]struct{}
	GetEncoding() string
}

func NewStandardBrickMapConfig

func NewStandardBrickMapConfig(stringifiedPaths map[string]struct{}, encoding string) BrickMapConfig

Jump to

Keyboard shortcuts

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