Documentation
¶
Index ¶
- func FirstWord(s string) string
- func LogErrorf(format string, args ...interface{}) error
- type Stdio
- func (s *Stdio) Close() error
- func (s Stdio) LocalAddr() net.Addr
- func (Stdio) Network() string
- func (s *Stdio) Read(b []byte) (int, error)
- func (s Stdio) RemoteAddr() net.Addr
- func (Stdio) SetDeadline(_ time.Time) error
- func (Stdio) SetReadDeadline(_ time.Time) error
- func (Stdio) SetWriteDeadline(_ time.Time) error
- func (Stdio) String() string
- func (s *Stdio) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stdio ¶
type Stdio struct {
// contains filtered or unexported fields
}
func NewDefaultStdio ¶ added in v0.7.1
func NewDefaultStdio() *Stdio
func NewStdio ¶ added in v0.7.1
func NewStdio(in io.ReadCloser, out io.WriteCloser) *Stdio
func (Stdio) RemoteAddr ¶
RemoteAddr implements net.Conn interface.
func (Stdio) SetDeadline ¶
SetDeadline implements net.Conn interface.
func (Stdio) SetReadDeadline ¶
SetReadDeadline implements net.Conn interface.
func (Stdio) SetWriteDeadline ¶
SetWriteDeadline implements net.Conn interface.
Click to show internal directories.
Click to hide internal directories.