Documentation ¶
Index ¶
- func SchemeIDtoString(schemeID int64) string
- type Authority
- type CRI
- type Discard
- type Fragment
- type Host
- type Items
- func (o *Items) Append(v []string)
- func (o Items) Count() uint64
- func (o Items) Get() interface{}
- func (o Items) GetValues() []string
- func (o Items) IsSet() bool
- func (o *Items) Reset()
- func (o *Items) Set(v interface{}) error
- func (o *Items) SetValues(v []interface{}) error
- func (o Items) String(sep string) string
- func (o *Items) TrimN(n uint64)
- type PC
- type Path
- type Port
- type Query
- type Scheme
- type TestVector
- type Tests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SchemeIDtoString ¶
Types ¶
type Authority ¶
type Authority struct { Host Host Port Port IsNull bool // no authority, leading slash IsTrue bool // no authority, no slash }
func (*Authority) SetHostPort ¶
type CRI ¶
type CRI struct { Discard Discard Scheme Scheme Authority Authority Path Path Query Query Fragment Fragment }
func (CRI) ResolveReference ¶
ResolveReference resolves a CRI reference to an absolute CRI from an absolute base CRI o, per href-09 Section 5.3. The CRI reference may be relative or absolute. ResolveReference always returns a new CRI instance, even if the returned CRI is identical to either the base or reference. If ref is an absolute CRI, then ResolveReference ignores base and returns a copy of ref.
type Discard ¶
type Discard struct {
// contains filtered or unexported fields
}
func (Discard) ComputePathPrefix ¶
TODO(tho) handle failure condition "discard==0 && path item present"
type Path ¶
type Path struct {
Items
}
path = [*text]
func (Path) GetSegments ¶
func (Path) NumSegments ¶
type TestVector ¶
Click to show internal directories.
Click to hide internal directories.