Versions in this module Expand all Collapse all v0 v0.2.5 Sep 1, 2016 Changes in this version + func Drain(in io.Reader, out io.Writer, result interface{}) (err error) + func NewLogWriter(out io.Writer) io.Writer + func SendError(w io.Writer, err error) error + func SendObject(w io.Writer, obj interface{}) error + type ServerError struct + Code int + Message string + func (e *ServerError) Error() string + type ServerLog struct + Error *ServerError + Message string + Object interface{}