Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeniedMsg = []byte("CLIENT_ERROR access denied\r\n")
DeniedMsg is sent if policy denies the request. Exported for tests
View Source
var ErrorMsg = []byte("ERROR\r\n")
ErrorMsg is standard memcached error line
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser implements proxylib.Parser
type ParserFactory ¶
type ParserFactory struct{}
ParserFactory implements proxylib.ParserFactory
var ParserFactoryInstance *ParserFactory
ParserFactoryInstance creates text parser for unified memcached parser
func (*ParserFactory) Create ¶
func (p *ParserFactory) Create(connection *proxylib.Connection) proxylib.Parser
Create creates memcached parser
Click to show internal directories.
Click to hide internal directories.