Documentation ¶
Index ¶
- type StringStringMap
- func (s StringStringMap) Copy() StringStringMap
- func (s StringStringMap) GetBool(key string) (bool, error)
- func (s StringStringMap) GetInt32(key string) (int32, error)
- func (s StringStringMap) GetInt64(key string) (int64, error)
- func (s StringStringMap) GetRequiredBool(key string) (bool, error)
- func (s StringStringMap) GetRequiredInt32(key string) (int32, error)
- func (s StringStringMap) GetRequiredInt64(key string) (int64, error)
- func (s StringStringMap) GetRequiredString(key string) (string, error)
- func (s StringStringMap) GetRequiredUint32(key string) (uint32, error)
- func (s StringStringMap) GetRequiredUint64(key string) (uint64, error)
- func (s StringStringMap) GetString(key string) (string, error)
- func (s StringStringMap) GetUint32(key string) (uint32, error)
- func (s StringStringMap) GetUint64(key string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringStringMap ¶
StringStringMap is a map from strings to strings.
func (StringStringMap) Copy ¶
func (s StringStringMap) Copy() StringStringMap
Copy gets a copy of the StringStringMap.
func (StringStringMap) GetBool ¶
func (s StringStringMap) GetBool(key string) (bool, error)
GetBool gets the bool if it is present, or 0 otherwise.
func (StringStringMap) GetInt32 ¶
func (s StringStringMap) GetInt32(key string) (int32, error)
GetInt32 gets the int32 if it is present, or 0 otherwise.
func (StringStringMap) GetInt64 ¶
func (s StringStringMap) GetInt64(key string) (int64, error)
GetInt64 gets the int64 if it is present, or 0 otherwise.
func (StringStringMap) GetRequiredBool ¶
func (s StringStringMap) GetRequiredBool(key string) (bool, error)
GetRequiredBool gets the bool if it is present, or returns error otherwise.
func (StringStringMap) GetRequiredInt32 ¶
func (s StringStringMap) GetRequiredInt32(key string) (int32, error)
GetRequiredInt32 gets the int32 if it is present, or returns error otherwise.
func (StringStringMap) GetRequiredInt64 ¶
func (s StringStringMap) GetRequiredInt64(key string) (int64, error)
GetRequiredInt64 gets the int64 if it is present, or returns error otherwise.
func (StringStringMap) GetRequiredString ¶
func (s StringStringMap) GetRequiredString(key string) (string, error)
GetRequiredString gets the string if it is present, or returns error otherwise.
func (StringStringMap) GetRequiredUint32 ¶
func (s StringStringMap) GetRequiredUint32(key string) (uint32, error)
GetRequiredUint32 gets the uint32 if it is present, or returns error otherwise.
func (StringStringMap) GetRequiredUint64 ¶
func (s StringStringMap) GetRequiredUint64(key string) (uint64, error)
GetRequiredUint64 gets the uint64 if it is present, or returns error otherwise.
func (StringStringMap) GetString ¶
func (s StringStringMap) GetString(key string) (string, error)
GetString gets the string if it is present, or "" otherwise.
func (StringStringMap) GetUint32 ¶
func (s StringStringMap) GetUint32(key string) (uint32, error)
GetUint32 gets the uint32 if it is present, or 0 otherwise.
func (StringStringMap) GetUint64 ¶
func (s StringStringMap) GetUint64(key string) (uint64, error)
GetUint64 gets the uint64 if it is present, or 0 otherwise.