Documentation
¶
Index ¶
Constants ¶
View Source
const EOL = "\r\n"
View Source
const ProtoVersion = "1.0"
Variables ¶
View Source
var ErrComplete = errors.New("scroll complete")
View Source
var ErrFatal = errors.New("fatal error")
View Source
var ServerVersion = "Chronalys/1.0"
Functions ¶
Types ¶
type Prepare ¶
type Prepare struct {
// contains filtered or unexported fields
}
func ParsePrepare ¶
func ParsePrepare(query *commands.CommandString) (*Prepare, error)
type Principal ¶
type Principal struct {
// contains filtered or unexported fields
}
func ParsePrincipal ¶
func ParsePrincipal(cmd *commands.CommandString) (principal *Principal, err error)
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func ParseQuery ¶
func ParseQuery(cmd *commands.CommandString) (*Query, error)
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(reader *bufio.ReadWriter) *Scanner
type Scroll ¶
type Scroll struct {
// contains filtered or unexported fields
}
func ParseScroll ¶
func ParseScroll(cmd *commands.CommandString) (scroll *Scroll, err error)
type Socket ¶
type Socket struct {
// contains filtered or unexported fields
}
func (*Socket) HandleConnection ¶
func (*Socket) PerformFinalize ¶
func (s *Socket) PerformFinalize(cmd *commands.CommandString) (err error)
Click to show internal directories.
Click to hide internal directories.