Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Referrable ¶
type Referrable struct {
// contains filtered or unexported fields
}
Referrable is referrable items
func NewReferrable ¶
func NewReferrable(resp *response.Response) *Referrable
NewReferrable creates an referrable object
func (*Referrable) Find ¶
func (a *Referrable) Find(k string) ([]string, bool)
Find to find a value of given key
func (*Referrable) FindBoolean ¶
func (a *Referrable) FindBoolean(k string) (bool, bool)
FindBoolean to find a value of given key and treat it as boolean. If the value is non-boolean, error will be raised. All header stuffs will be treated as non-boolean.
Click to show internal directories.
Click to hide internal directories.