mgk.ro: mgk.ro/net/netutil Index | Files

package netutil

import "mgk.ro/net/netutil"

Package netutil implements some network I/O utility functions.

Index

Package Files

netutil.go

func Dial Uses

func Dial(dialstring string) (conn net.Conn, err error)

Dial is like net.Dial, but takes a Plan 9 dial string as its argument.

func SplitDialString Uses

func SplitDialString(s string) (net, addr string, err error)

SplitDialString takes a Plan 9 dialstring like tcp!golang.org!http and returns the constituent elements in a form useful to net.Dial.

Package netutil imports 3 packages (graph) and is imported by 2 packages. Updated 2019-03-25. Refresh now. Tools for package owners.