Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK = "OK" ERR = "ERR" )
Variables ¶
This section is empty.
Functions ¶
func RFC1738Unescape ¶
RFC1738Unescape is a port of Squid rfc1738_unescape function. It does unescaping in-place and returns slice pointing to boundaries of unescaped bytes.
Types ¶
type ElasticLineScanner ¶
type ElasticLineScanner struct {
// contains filtered or unexported fields
}
func NewElasticLineScanner ¶
func NewElasticLineScanner(reader ReadSlicer, delim byte) *ElasticLineScanner
func (*ElasticLineScanner) Bytes ¶
func (els *ElasticLineScanner) Bytes() []byte
func (*ElasticLineScanner) Err ¶
func (els *ElasticLineScanner) Err() error
func (*ElasticLineScanner) Scan ¶
func (els *ElasticLineScanner) Scan() bool
type ReadSlicer ¶ added in v1.1.0
type ResponseEmitter ¶ added in v1.1.0
type ResponseEmitter struct {
// contains filtered or unexported fields
}
func NewResponseEmitter ¶ added in v1.1.0
func NewResponseEmitter(writer io.Writer) *ResponseEmitter
func (*ResponseEmitter) EmitERR ¶ added in v1.1.0
func (e *ResponseEmitter) EmitERR(channelID []byte) error
func (*ResponseEmitter) EmitOK ¶ added in v1.1.0
func (e *ResponseEmitter) EmitOK(channelID []byte) error
Click to show internal directories.
Click to hide internal directories.