Documentation
¶
Index ¶
- type Boolean
- type BooleanToken
- type Bytes
- type BytesToken
- type DateTime
- type DateTimeToken
- type Domain
- type DomainToken
- type Email
- type EmailToken
- type HTTPMethod
- type HTTPMethodToken
- type InvalidCount
- type JSONArray
- type JSONArrayToken
- type JSONObject
- type JSONObjectToken
- type JWT
- type JWTToken
- type Matcher
- type Null
- type NullToken
- type Number
- type NumberToken
- type QuotedString
- type QuotedStringToken
- type Token
- type Tokenizer
- type Tokenizers
- type URL
- type URLToken
- type UUID
- type UUIDToken
- type UnSupportedOperation
- type Unknown
- type UnknownToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooleanToken ¶
type BooleanToken struct {
Value bool
}
func (BooleanToken) Children ¶
func (BooleanToken) Children() []Token
func (BooleanToken) SetChildren ¶
func (BooleanToken) SetChildren([]Token) error
func (*BooleanToken) String ¶
func (e *BooleanToken) String() string
type BytesToken ¶
type BytesToken struct {
Bytes []byte
}
func (BytesToken) Children ¶
func (BytesToken) Children() []Token
func (BytesToken) SetChildren ¶
func (BytesToken) SetChildren([]Token) error
func (*BytesToken) String ¶
func (e *BytesToken) String() string
type DateTimeToken ¶
func (DateTimeToken) Children ¶
func (DateTimeToken) Children() []Token
func (DateTimeToken) SetChildren ¶
func (DateTimeToken) SetChildren([]Token) error
func (DateTimeToken) String ¶
func (DateTimeToken) String() string
type DomainToken ¶
type DomainToken struct {
Domain []byte
}
func (*DomainToken) Children ¶
func (e *DomainToken) Children() []Token
func (*DomainToken) SetChildren ¶
func (e *DomainToken) SetChildren(ts []Token) error
func (*DomainToken) String ¶
func (e *DomainToken) String() string
type EmailToken ¶
func (*EmailToken) Children ¶
func (e *EmailToken) Children() []Token
func (*EmailToken) SetChildren ¶
func (e *EmailToken) SetChildren(ts []Token) error
func (*EmailToken) String ¶
func (e *EmailToken) String() string
type HTTPMethod ¶
type HTTPMethod struct{}
func (HTTPMethod) Matchers ¶
func (HTTPMethod) Matchers() []Matcher
func (HTTPMethod) Token ¶
func (HTTPMethod) Token(in []byte) Token
type HTTPMethodToken ¶
type HTTPMethodToken struct {
Value []byte
}
func (HTTPMethodToken) Children ¶
func (HTTPMethodToken) Children() []Token
func (HTTPMethodToken) SetChildren ¶
func (HTTPMethodToken) SetChildren([]Token) error
func (*HTTPMethodToken) String ¶
func (e *HTTPMethodToken) String() string
type InvalidCount ¶
type InvalidCount struct{}
func (InvalidCount) Error ¶
func (InvalidCount) Error() string
type JSONArrayToken ¶
type JSONArrayToken struct {
Values []Token
}
func (*JSONArrayToken) Children ¶
func (e *JSONArrayToken) Children() []Token
func (*JSONArrayToken) SetChildren ¶
func (e *JSONArrayToken) SetChildren(ts []Token) error
func (*JSONArrayToken) String ¶
func (e *JSONArrayToken) String() string
type JSONObject ¶
type JSONObject struct{}
func (JSONObject) Matchers ¶
func (JSONObject) Matchers() []Matcher
func (JSONObject) Token ¶
func (JSONObject) Token(in []byte) Token
type JSONObjectToken ¶
func (*JSONObjectToken) Children ¶
func (e *JSONObjectToken) Children() []Token
func (*JSONObjectToken) SetChildren ¶
func (e *JSONObjectToken) SetChildren(ts []Token) error
func (*JSONObjectToken) String ¶
func (e *JSONObjectToken) String() string
type NumberToken ¶
type NumberToken struct {
Value float64
}
func (NumberToken) Children ¶
func (NumberToken) Children() []Token
func (NumberToken) SetChildren ¶
func (NumberToken) SetChildren([]Token) error
func (NumberToken) String ¶
func (NumberToken) String() string
type QuotedString ¶
type QuotedString struct{}
func (QuotedString) Matchers ¶
func (QuotedString) Matchers() []Matcher
func (QuotedString) Token ¶
func (QuotedString) Token(in []byte) Token
type QuotedStringToken ¶
func (*QuotedStringToken) Children ¶
func (e *QuotedStringToken) Children() []Token
func (*QuotedStringToken) SetChildren ¶
func (e *QuotedStringToken) SetChildren(ts []Token) error
func (*QuotedStringToken) String ¶
func (e *QuotedStringToken) String() string
type Tokenizers ¶
type Tokenizers []Tokenizer
type URLToken ¶
type URLToken struct {
Protocol []byte
Host Token
Port *int
Fragment []Token
QueryStringKeys [][]byte
QueryStringValues []Token
}
func (*URLToken) SetChildren ¶
type UUIDToken ¶
func (UUIDToken) SetChildren ¶
type UnSupportedOperation ¶
type UnSupportedOperation struct{}
func (UnSupportedOperation) Error ¶
func (UnSupportedOperation) Error() string
type UnknownToken ¶
type UnknownToken struct {
Bytes []byte
}
func (UnknownToken) Children ¶
func (UnknownToken) Children() []Token
func (UnknownToken) SetChildren ¶
func (UnknownToken) SetChildren([]Token) error
func (UnknownToken) String ¶
func (UnknownToken) String() string
Click to show internal directories.
Click to hide internal directories.