redis

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerEscapeString

func ContainerEscapeString(v string) bool

Types

type Item

type Item struct {
	LineNo   int
	Comments []string
	Values   []string
}

type Lexer

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

func (*Lexer) AppendValidParameter

func (l *Lexer) AppendValidParameter(param Item, fromNo int)

func (*Lexer) Empty

func (l *Lexer) Empty() bool

func (*Lexer) GetAllParams

func (l *Lexer) GetAllParams() map[string][]Item

func (*Lexer) GetItem

func (l *Lexer) GetItem(key string) []Item

func (Lexer) IsUpdated

func (l Lexer) IsUpdated() bool

func (*Lexer) Load

func (l *Lexer) Load(str string) error

func (*Lexer) ParseParameter

func (l *Lexer) ParseParameter(paramLine string, paramID int) (Item, error)

func (*Lexer) RemoveParameter

func (l *Lexer) RemoveParameter(it *Item)

func (*Lexer) SortParameters

func (l *Lexer) SortParameters() []Item

func (*Lexer) ToString

func (l *Lexer) ToString() string

Jump to

Keyboard shortcuts

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