Documentation
¶
Index ¶
- type TextParser
- type TextResponder
- func (t TextResponder) Add(opaque uint32, quiet bool) error
- func (t TextResponder) Delete(opaque uint32) error
- func (t TextResponder) Error(opaque uint32, reqType common.RequestType, err error) error
- func (t TextResponder) GAT(response common.GetResponse) error
- func (t TextResponder) Get(response common.GetResponse) error
- func (t TextResponder) GetE(response common.GetEResponse) error
- func (t TextResponder) GetEnd(opaque uint32, noopEnd bool) error
- func (t TextResponder) Noop(opaque uint32) error
- func (t TextResponder) Quit(opaque uint32, quiet bool) error
- func (t TextResponder) Replace(opaque uint32, quiet bool) error
- func (t TextResponder) Set(opaque uint32, quiet bool) error
- func (t TextResponder) Touch(opaque uint32) error
- func (t TextResponder) Version(opaque uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextParser ¶
type TextParser struct {
// contains filtered or unexported fields
}
func NewTextParser ¶
func NewTextParser(reader *bufio.Reader) TextParser
func (TextParser) Parse ¶
func (t TextParser) Parse() (common.Request, common.RequestType, error)
type TextResponder ¶
type TextResponder struct {
// contains filtered or unexported fields
}
func NewTextResponder ¶
func NewTextResponder(writer *bufio.Writer) TextResponder
func (TextResponder) Delete ¶
func (t TextResponder) Delete(opaque uint32) error
func (TextResponder) Error ¶
func (t TextResponder) Error(opaque uint32, reqType common.RequestType, err error) error
func (TextResponder) GAT ¶
func (t TextResponder) GAT(response common.GetResponse) error
func (TextResponder) Get ¶
func (t TextResponder) Get(response common.GetResponse) error
func (TextResponder) GetE ¶
func (t TextResponder) GetE(response common.GetEResponse) error
func (TextResponder) Noop ¶
func (t TextResponder) Noop(opaque uint32) error
func (TextResponder) Touch ¶
func (t TextResponder) Touch(opaque uint32) error
func (TextResponder) Version ¶
func (t TextResponder) Version(opaque uint32) error
Click to show internal directories.
Click to hide internal directories.