classes

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists added in v0.4.0

func Exists(buf []byte) bool

func Get

func Get(name []byte) (template.Class, *qerror.Error)

Get class in trie

func List

func List() [][]byte

List class name

func Set

func Set(name []byte, f template.Class) *qerror.Error

Set class in trie

Types

type Manager

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

class manager

func New

func New() *Manager

New Manager

func (*Manager) Exists added in v0.4.0

func (m *Manager) Exists(name []byte) bool

func (*Manager) Get

func (m *Manager) Get(name []byte) (template.Class, *qerror.Error)

Get class in trie

func (*Manager) List

func (m *Manager) List() [][]byte

List class name

func (*Manager) Set

func (m *Manager) Set(name []byte, v template.Class) *qerror.Error

Set class in trie

Jump to

Keyboard shortcuts

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