util

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeMap

type AttributeMap interface {
	SetAttribute(key string, val interface{})
	GetAttribute(key string) interface{}
	HasAttribute(key string) bool
	GetStringAttribute(key string) string
	GetBoolAttribute(key string) bool
	GetIntAttribute(key string) int
}

type DefaultAttributeMap

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

func (*DefaultAttributeMap) GetAttribute

func (m *DefaultAttributeMap) GetAttribute(key string) interface{}

func (*DefaultAttributeMap) GetBoolAttribute

func (m *DefaultAttributeMap) GetBoolAttribute(key string) bool

func (*DefaultAttributeMap) GetIntAttribute

func (m *DefaultAttributeMap) GetIntAttribute(key string) int

func (*DefaultAttributeMap) GetStringAttribute

func (m *DefaultAttributeMap) GetStringAttribute(key string) string

func (*DefaultAttributeMap) HasAttribute

func (m *DefaultAttributeMap) HasAttribute(key string) bool

func (*DefaultAttributeMap) SetAttribute

func (m *DefaultAttributeMap) SetAttribute(key string, val interface{})

Jump to

Keyboard shortcuts

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