Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AltSvc ¶
type AltSvc struct { // Protocol is the alt-svc proto, e.g. h3. Protocol string // Host is the alt-svc's host, could be empty if // it's the same host as the raw request. Host string // Port is the alt-svc's port. Port string // Expire is the time that the alt-svc should expire. Expire time.Time }
AltSvc is the parsed alt-svc.
type AltSvcJar ¶
type AltSvcJar struct {
// contains filtered or unexported fields
}
AltSvcJar is default implementation of Jar, which stores AltSvc in memory.
func NewAltSvcJar ¶
func NewAltSvcJar() *AltSvcJar
NewAltSvcJar create a AltSvcJar which implements Jar.
Click to show internal directories.
Click to hide internal directories.