mpdconf

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT-0 Imports: 3 Imported by: 0

Documentation

Overview

Package mpdconf has a MPD config file scanner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

Scanner implements a scanner for the MPD config file.

func (*Scanner) Init

func (s *Scanner) Init(src io.Reader)

Init initialises the scanner.

func (*Scanner) Next

func (s *Scanner) Next() bool

Next advances to the next token. It returns false is there are none left.

func (*Scanner) Str

func (s *Scanner) Str(key string) (string, bool)

Str returns the string value associated with key.

Jump to

Keyboard shortcuts

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