Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interpreter ¶
type Interpreter struct {
// contains filtered or unexported fields
}
Interpreter interprets the message received from the client.
func NewInterpreter ¶
func NewInterpreter() Interpreter
NewInterpreter creates a new instance of the Interpreter type.
func (Interpreter) Eval ¶
func (i Interpreter) Eval(b []byte) Msg
Eval evalues the message sent into an appropriate Msg type.
Click to show internal directories.
Click to hide internal directories.