Versions in this module Expand all Collapse all v1 v1.4.0 Jun 1, 2018 v1.3.0 Aug 26, 2017 v1.2.2 Feb 17, 2017 v1.2.1 Feb 16, 2017 v1.2.0 Jan 24, 2017 v1.1.1 Nov 8, 2016 v1.1.0 Jul 3, 2016 Changes in this version + const O_ACCMODE + func AddrIP(addr net.Addr) net.IP + func AddrPort(addr net.Addr) int + func ConvertToSliceOfEmptyInterface(slice interface{}) (ret []interface{}) + func CopyExact(dest interface{}, src interface{}) + func CopyURL(u *url.URL) (ret *url.URL) + func CryHeard() bool + func Fatal(msg interface{}) + func FileInfoAccessTime(fi os.FileInfo) time.Time + func FilePathExists(p string) bool + func GzipHTTPHandler(h http.Handler) http.Handler + func HTTPQuotedString(s string) string + func PathSplitExt(p string) (ret struct{ ... }) + func RequestedURL(r *http.Request) (ret *url.URL) + func Unchomp(s string) string + func WriteStack(w io.Writer, stack []uintptr) + type HTTPBytesContentRange struct + First int64 + Last int64 + Length int64 + func ParseHTTPBytesContentRange(s string) (ret HTTPBytesContentRange, ok bool) + type HTTPBytesRange struct + First int64 + Last int64 + func ParseHTTPBytesRange(s string) (ret HTTPBytesRange, ok bool) + type HostMaybePort struct + Host string + NoPort bool + Port int + func SplitHostPort(hostport string) (ret HostMaybePort) + func (me HostMaybePort) String() string + type HostPort struct + Err error + Host string + Port string + func ParseHostPort(hostPort string) (ret HostPort) + func (me *HostPort) Join() string + type IndentMap struct + func NewExpvarIndentMap(name string) *IndentMap + func (v *IndentMap) String() string + type RWLocker interface + RLock func() + RUnlock func() + type ReaderFromStatusResponseWriter struct + func NewReaderFromStatusResponseWriter(w http.ResponseWriter) *ReaderFromStatusResponseWriter + type RunLengthEncoder interface + Append func(element interface{}, count uint64) + Flush func() + func NewRunLengthEncoder(eachRun func(element interface{}, count uint64)) RunLengthEncoder + type SingleFlight struct + func (me *SingleFlight) Lock(id string) + func (me *SingleFlight) Unlock(id string) + type StatWriter struct + Written int64 + func NewStatWriter(w io.Writer) *StatWriter + func (me *StatWriter) Write(b []byte) (n int, err error) + type StatusResponseWriter struct + BytesWritten int64 + Code int + RW http.ResponseWriter + func (me *StatusResponseWriter) CloseNotify() <-chan bool + func (me *StatusResponseWriter) Flush() + func (me *StatusResponseWriter) Header() http.Header + func (me *StatusResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) + func (me *StatusResponseWriter) Write(b []byte) (n int, err error) + func (me *StatusResponseWriter) WriteHeader(code int) + type Wolf struct + func (me *Wolf) CryHeard() bool + type ZeroReader struct + func (me ZeroReader) Read(b []byte) (n int, err error)