Documentation
¶
Index ¶
- func BufferChan(bSize int) chan *protocol.CalMessage
- func CalHostname(hostname string) string
- func CalPort(port int) int
- func Hostname() string
- func NewBufioReader(r io.Reader) *bufio.Reader
- func NewBufioWriter(w io.Writer) *bufio.Writer
- func Poolname(pName string) string
- func PutBufioReader(br *bufio.Reader)
- func PutBufioWriter(bw *bufio.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferChan ¶
func BufferChan(bSize int) chan *protocol.CalMessage
func CalHostname ¶
func Hostname ¶
func Hostname() string
hostname returns the best available hostname. It tries in order: proper hostname, non-degenerate ip address, "localhost".
func PutBufioReader ¶
func PutBufioWriter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.