Documentation ¶
Index ¶
- Constants
- Variables
- type Info
- func (info *Info) FromStr(str string) (mErr error)
- func (info *Info) Get(name string) string
- func (info *Info) GetOK(name string) (value string, ok bool)
- func (info *Info) IsEmpty() bool
- func (info *Info) PrintList() string
- func (info *Info) Reset()
- func (info *Info) Set(name string, a ...interface{}) error
- func (info *Info) Setf(name string, format string, a ...interface{}) error
- func (info *Info) String() string
- type InfoTs
- func (its *InfoTs) FromStr(str string) (mErr error)
- func (its *InfoTs) Get(name string) string
- func (its *InfoTs) GetOK(name string) (value string, ok bool)
- func (its *InfoTs) IsEmpty() bool
- func (its *InfoTs) PrintList() string
- func (its *InfoTs) Reset()
- func (its *InfoTs) Set(name string, a ...interface{}) error
- func (its *InfoTs) Setf(name string, format string, a ...interface{}) error
- func (its *InfoTs) String() string
Constants ¶
View Source
const (
MAX_INFO_KEY = 64
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
Info strings storage object.
func NewInfoFromStr ¶
Allocate new info strings object from string, str is in form of `\key1\value1\key2\value2`.
type InfoTs ¶
type InfoTs struct {
// contains filtered or unexported fields
}
Thread safe version of Info.
func NewInfoTsFromStr ¶
Click to show internal directories.
Click to hide internal directories.