SYMBOL INDEX (615 symbols across 47 files) FILE: bench_test.go function BenchmarkCachingFiles (line 14) | func BenchmarkCachingFiles(b *testing.B) { FILE: cache.go constant headerPrefix (line 23) | headerPrefix = "header/" constant bodyPrefix (line 24) | bodyPrefix = "body/" constant formatPrefix (line 25) | formatPrefix = "v1/" type Cache (line 31) | type Cache interface type cache (line 40) | type cache struct method vfsWrite (line 78) | func (c *cache) vfsWrite(path string, r io.Reader) error { method Header (line 94) | func (c *cache) Header(key string) (Header, error) { method Store (line 108) | func (c *cache) Store(res *Resource, keys ...string) error { method storeBody (line 134) | func (c *cache) storeBody(r io.Reader, key string) error { method storeHeader (line 141) | func (c *cache) storeHeader(code int, h http.Header, key string) error { method Retrieve (line 153) | func (c *cache) Retrieve(key string) (*Resource, error) { method Invalidate (line 178) | func (c *cache) Invalidate(keys ...string) { method Freshen (line 185) | func (c *cache) Freshen(res *Resource, keys ...string) error { type Header (line 47) | type Header struct function NewVFSCache (line 53) | func NewVFSCache(fs vfs.VFS) Cache { function NewMemoryCache (line 58) | func NewMemoryCache() Cache { function NewDiskCache (line 63) | func NewDiskCache(dir string) (Cache, error) { function hashKey (line 202) | func hashKey(key string) string { function readHeaders (line 208) | func readHeaders(r *bufio.Reader) (Header, error) { function headersToWriter (line 231) | func headersToWriter(h http.Header, w io.Writer) error { FILE: cache_test.go function TestSaveResource (line 12) | func TestSaveResource(t *testing.T) { function TestSaveResourceWithIncorrectContentLength (line 34) | func TestSaveResourceWithIncorrectContentLength(t *testing.T) { FILE: cachecontrol.go constant CacheControlHeader (line 13) | CacheControlHeader = "Cache-Control" type CacheControl (line 16) | type CacheControl method Get (line 63) | func (cc CacheControl) Get(key string) (string, bool) { method Add (line 71) | func (cc CacheControl) Add(key, val string) { method Has (line 80) | func (cc CacheControl) Has(key string) bool { method Duration (line 85) | func (cc CacheControl) Duration(key string) (time.Duration, error) { method String (line 90) | func (cc CacheControl) String() string { function ParseCacheControlHeaders (line 18) | func ParseCacheControlHeaders(h http.Header) (CacheControl, error) { function ParseCacheControl (line 22) | func ParseCacheControl(input string) (CacheControl, error) { FILE: cachecontrol_test.go function TestParsingCacheControl (line 10) | func TestParsingCacheControl(t *testing.T) { function BenchmarkCacheControlParsing (line 49) | func BenchmarkCacheControlParsing(b *testing.B) { FILE: cli/httpcache.go constant defaultListen (line 15) | defaultListen = "0.0.0.0:8080" constant defaultDir (line 16) | defaultDir = "./cachedata" function init (line 28) | func init() { function main (line 42) | func main() { FILE: handler.go constant CacheHeader (line 20) | CacheHeader = "X-Cache" constant ProxyDateHeader (line 21) | ProxyDateHeader = "Proxy-Date" type Handler (line 47) | type Handler struct method ServeHTTP (line 63) | func (h *Handler) ServeHTTP(rw http.ResponseWriter, r *http.Request) { method freshness (line 131) | func (h *Handler) freshness(res *Resource, r *cacheRequest) (time.Dura... method needsValidation (line 166) | func (h *Handler) needsValidation(res *Resource, r *cacheRequest) bool { method pipeUpstream (line 206) | func (h *Handler) pipeUpstream(w http.ResponseWriter, r *cacheRequest) { method passUpstream (line 239) | func (h *Handler) passUpstream(w http.ResponseWriter, r *cacheRequest) { method isCacheable (line 316) | func (h *Handler) isCacheable(res *Resource, r *cacheRequest) bool { method serveResource (line 361) | func (h *Handler) serveResource(res *Resource, w http.ResponseWriter, ... method invalidateResource (line 401) | func (h *Handler) invalidateResource(res *Resource, r *cacheRequest) { method storeResource (line 410) | func (h *Handler) storeResource(res *Resource, r *cacheRequest) { method lookup (line 438) | func (h *Handler) lookup(req *cacheRequest) (*Resource, error) { function NewHandler (line 54) | func NewHandler(cache Cache, upstream http.Handler) *Handler { function correctedAge (line 290) | func correctedAge(h http.Header, reqTime, respTime time.Time) (time.Dura... type cacheRequest (line 469) | type cacheRequest struct method isStateChanging (line 494) | func (r *cacheRequest) isStateChanging() bool { method isCacheable (line 502) | func (r *cacheRequest) isCacheable() bool { function newCacheRequest (line 476) | func newCacheRequest(r *http.Request) (*cacheRequest, error) { function newResponseStreamer (line 524) | func newResponseStreamer(w http.ResponseWriter) *responseStreamer { type responseStreamer (line 536) | type responseStreamer struct method WaitHeaders (line 545) | func (rw *responseStreamer) WaitHeaders() { method WriteHeader (line 550) | func (rw *responseStreamer) WriteHeader(status int) { method Write (line 556) | func (rw *responseStreamer) Write(b []byte) (int, error) { method Close (line 560) | func (rw *responseStreamer) Close() error { method Resource (line 565) | func (rw *responseStreamer) Resource() *Resource { type errReadSeekCloser (line 581) | type errReadSeekCloser struct method Error (line 585) | func (e errReadSeekCloser) Error() string { method Close (line 588) | func (e errReadSeekCloser) Close() error { retur... method Read (line 589) | func (e errReadSeekCloser) Read(_ []byte) (int, error) { retur... method Seek (line 590) | func (e errReadSeekCloser) Seek(_ int64, _ int) (int64, error) { retur... FILE: header.go function timeHeader (line 12) | func timeHeader(key string, h http.Header) (time.Time, error) { function intHeader (line 20) | func intHeader(key string, h http.Header) (int, error) { FILE: httplog/log.go constant CacheHeader (line 16) | CacheHeader = "X-Cache" type responseWriter (line 19) | type responseWriter struct method Header (line 27) | func (l *responseWriter) Header() http.Header { method Write (line 31) | func (l *responseWriter) Write(b []byte) (int, error) { method WriteHeader (line 43) | func (l *responseWriter) WriteHeader(s int) { method Status (line 48) | func (l *responseWriter) Status() int { method Size (line 52) | func (l *responseWriter) Size() int { function NewResponseLogger (line 56) | func NewResponseLogger(delegate http.Handler) *ResponseLogger { type ResponseLogger (line 60) | type ResponseLogger struct method ServeHTTP (line 65) | func (l *ResponseLogger) ServeHTTP(w http.ResponseWriter, req *http.Re... method writeLog (line 90) | func (l *ResponseLogger) writeLog(req *http.Request, respWr *responseW... function isError (line 119) | func isError(code int) bool { function writePrefixString (line 123) | func writePrefixString(s, prefix string, w io.Writer) { FILE: key.go type Key (line 12) | type Key struct method ForMethod (line 49) | func (k Key) ForMethod(method string) Key { method Vary (line 56) | func (k Key) Vary(varyHeader string, r *http.Request) Key { method String (line 66) | func (k Key) String() string { function NewKey (line 20) | func NewKey(method string, u *url.URL, h http.Header) Key { function NewRequestKey (line 25) | func NewRequestKey(r *http.Request) Key { function canonicalURL (line 81) | func canonicalURL(u *url.URL) *url.URL { FILE: key_test.go function mustParseUrl (line 11) | func mustParseUrl(u string) *url.URL { function TestKeysDiffer (line 19) | func TestKeysDiffer(t *testing.T) { function TestRequestKey (line 26) | func TestRequestKey(t *testing.T) { function TestVaryKey (line 35) | func TestVaryKey(t *testing.T) { function TestRequestKeyWithContentLocation (line 44) | func TestRequestKeyWithContentLocation(t *testing.T) { function TestRequestKeyWithIllegalContentLocation (line 53) | func TestRequestKeyWithIllegalContentLocation(t *testing.T) { FILE: logger.go constant ansiRed (line 6) | ansiRed = "\x1b[31;1m" constant ansiReset (line 7) | ansiReset = "\x1b[0m" function debugf (line 12) | func debugf(format string, args ...interface{}) { function errorf (line 18) | func errorf(format string, args ...interface{}) { FILE: resource.go constant lastModDivisor (line 14) | lastModDivisor = 10 constant viaPseudonym (line 15) | viaPseudonym = "httpcache" type ReadSeekCloser (line 22) | type ReadSeekCloser interface type byteReadSeekCloser (line 28) | type byteReadSeekCloser struct method Close (line 32) | func (brsc *byteReadSeekCloser) Close() error { return nil } type Resource (line 34) | type Resource struct method IsNonErrorStatus (line 59) | func (r *Resource) IsNonErrorStatus() bool { method Status (line 63) | func (r *Resource) Status() int { method Header (line 67) | func (r *Resource) Header() http.Header { method IsStale (line 71) | func (r *Resource) IsStale() bool { method MarkStale (line 75) | func (r *Resource) MarkStale() { method cacheControl (line 79) | func (r *Resource) cacheControl() (CacheControl, error) { method LastModified (line 93) | func (r *Resource) LastModified() time.Time { method Expires (line 105) | func (r *Resource) Expires() (time.Time, error) { method MustValidate (line 113) | func (r *Resource) MustValidate(shared bool) bool { method DateAfter (line 132) | func (r *Resource) DateAfter(d time.Time) bool { method Age (line 144) | func (r *Resource) Age() (time.Duration, error) { method MaxAge (line 162) | func (r *Resource) MaxAge(shared bool) (time.Duration, error) { method RemovePrivateHeaders (line 195) | func (r *Resource) RemovePrivateHeaders() { method HasValidators (line 207) | func (r *Resource) HasValidators() bool { method HasExplicitExpiration (line 215) | func (r *Resource) HasExplicitExpiration() bool { method HeuristicFreshness (line 237) | func (r *Resource) HeuristicFreshness() time.Duration { method Via (line 245) | func (r *Resource) Via() string { function NewResource (line 43) | func NewResource(statusCode int, body ReadSeekCloser, hdrs http.Header) ... function NewResourceBytes (line 51) | func NewResourceBytes(statusCode int, b []byte, hdrs http.Header) *Resou... FILE: spec_test.go function testSetup (line 17) | func testSetup() (*client, *upstreamServer) { function TestSpecResponseCacheControl (line 49) | func TestSpecResponseCacheControl(t *testing.T) { function TestSpecResponseCacheControlWithPrivateHeaders (line 95) | func TestSpecResponseCacheControlWithPrivateHeaders(t *testing.T) { function TestSpecResponseCacheControlWithAuthorizationHeaders (line 121) | func TestSpecResponseCacheControlWithAuthorizationHeaders(t *testing.T) { function TestSpecRequestCacheControl (line 144) | func TestSpecRequestCacheControl(t *testing.T) { function TestSpecRequestCacheControlWithOnlyIfCached (line 178) | func TestSpecRequestCacheControlWithOnlyIfCached(t *testing.T) { function TestSpecCachingStatusCodes (line 192) | func TestSpecCachingStatusCodes(t *testing.T) { function TestSpecConditionalCaching (line 215) | func TestSpecConditionalCaching(t *testing.T) { function TestSpecRangeRequests (line 229) | func TestSpecRangeRequests(t *testing.T) { function TestSpecHeuristicCaching (line 238) | func TestSpecHeuristicCaching(t *testing.T) { function TestSpecCacheControlTrumpsExpires (line 250) | func TestSpecCacheControlTrumpsExpires(t *testing.T) { function TestSpecNotCachedWithoutValidatorOrExpiration (line 263) | func TestSpecNotCachedWithoutValidatorOrExpiration(t *testing.T) { function TestSpecNoCachingForInvalidExpires (line 273) | func TestSpecNoCachingForInvalidExpires(t *testing.T) { function TestSpecRequestsWithoutHostHeader (line 281) | func TestSpecRequestsWithoutHostHeader(t *testing.T) { function TestSpecCacheControlMaxStale (line 293) | func TestSpecCacheControlMaxStale(t *testing.T) { function TestSpecValidatingStaleResponsesUnchanged (line 310) | func TestSpecValidatingStaleResponsesUnchanged(t *testing.T) { function TestSpecValidatingStaleResponsesWithNewContent (line 325) | func TestSpecValidatingStaleResponsesWithNewContent(t *testing.T) { function TestSpecValidatingStaleResponsesWithNewEtag (line 340) | func TestSpecValidatingStaleResponsesWithNewEtag(t *testing.T) { function TestSpecVaryHeader (line 355) | func TestSpecVaryHeader(t *testing.T) { function TestSpecHeadersPropagated (line 367) | func TestSpecHeadersPropagated(t *testing.T) { function TestSpecAgeHeaderFromUpstream (line 381) | func TestSpecAgeHeaderFromUpstream(t *testing.T) { function TestSpecAgeHeaderWithResponseDelay (line 391) | func TestSpecAgeHeaderWithResponseDelay(t *testing.T) { function TestSpecAgeHeaderGeneratedWhereNoneExists (line 403) | func TestSpecAgeHeaderGeneratedWhereNoneExists(t *testing.T) { function TestSpecWarningForOldContent (line 414) | func TestSpecWarningForOldContent(t *testing.T) { function TestSpecHeadCanBeServedFromCacheOnlyWithExplicitFreshness (line 425) | func TestSpecHeadCanBeServedFromCacheOnlyWithExplicitFreshness(t *testin... function TestSpecInvalidatingGetWithHeadRequest (line 438) | func TestSpecInvalidatingGetWithHeadRequest(t *testing.T) { function TestSpecFresheningGetWithHeadRequest (line 448) | func TestSpecFresheningGetWithHeadRequest(t *testing.T) { function TestSpecContentHeaderInRequestRespected (line 465) | func TestSpecContentHeaderInRequestRespected(t *testing.T) { function TestSpecMultipleCacheControlHeaders (line 478) | func TestSpecMultipleCacheControlHeaders(t *testing.T) { FILE: util_test.go function newRequest (line 17) | func newRequest(method, url string, h ...string) *http.Request { function newResponse (line 27) | func newResponse(status int, body []byte, h ...string) *http.Response { function parseHeaders (line 41) | func parseHeaders(input []string) http.Header { type client (line 51) | type client struct method do (line 56) | func (c *client) do(r *http.Request) *clientResponse { method get (line 84) | func (c *client) get(path string, headers ...string) *clientResponse { method head (line 88) | func (c *client) head(path string, headers ...string) *clientResponse { method put (line 92) | func (c *client) put(path string, headers ...string) *clientResponse { method post (line 96) | func (c *client) post(path string, headers ...string) *clientResponse { type clientResponse (line 100) | type clientResponse struct type upstreamServer (line 109) | type upstreamServer struct method timeTravel (line 123) | func (u *upstreamServer) timeTravel(d time.Duration) { method assert (line 127) | func (u *upstreamServer) assert(f func(r *http.Request)) { method ServeHTTP (line 131) | func (u *upstreamServer) ServeHTTP(rw http.ResponseWriter, req *http.R... method RoundTrip (line 172) | func (u *upstreamServer) RoundTrip(req *http.Request) (*http.Response,... function cc (line 182) | func cc(cc string) string { function readAll (line 186) | func readAll(r io.Reader) []byte { function readAllString (line 194) | func readAllString(r io.Reader) string { FILE: validator.go type Validator (line 9) | type Validator struct method Validate (line 13) | func (v *Validator) Validate(req *http.Request, res *Resource) bool { function headersEqual (line 43) | func headersEqual(h1, h2 http.Header) bool { function cloneRequest (line 58) | func cloneRequest(r *http.Request) *http.Request { FILE: vendor/github.com/rainycape/vfs/bench_test.go function BenchmarkLoadGoSrc (line 11) | func BenchmarkLoadGoSrc(b *testing.B) { function BenchmarkWalkGoSrc (line 32) | func BenchmarkWalkGoSrc(b *testing.B) { FILE: vendor/github.com/rainycape/vfs/chroot.go type chrootFileSystem (line 9) | type chrootFileSystem struct method path (line 14) | func (fs *chrootFileSystem) path(p string) string { method VFS (line 21) | func (fs *chrootFileSystem) VFS() VFS { method Open (line 25) | func (fs *chrootFileSystem) Open(path string) (RFile, error) { method OpenFile (line 29) | func (fs *chrootFileSystem) OpenFile(path string, flag int, perm os.Fi... method Lstat (line 33) | func (fs *chrootFileSystem) Lstat(path string) (os.FileInfo, error) { method Stat (line 37) | func (fs *chrootFileSystem) Stat(path string) (os.FileInfo, error) { method ReadDir (line 41) | func (fs *chrootFileSystem) ReadDir(path string) ([]os.FileInfo, error) { method Mkdir (line 45) | func (fs *chrootFileSystem) Mkdir(path string, perm os.FileMode) error { method Remove (line 49) | func (fs *chrootFileSystem) Remove(path string) error { method String (line 53) | func (fs *chrootFileSystem) String() string { function Chroot (line 60) | func Chroot(root string, fs VFS) (VFS, error) { FILE: vendor/github.com/rainycape/vfs/file.go type EntryType (line 11) | type EntryType constant EntryTypeFile (line 15) | EntryTypeFile EntryType = iota + 1 constant EntryTypeDir (line 17) | EntryTypeDir constant ModeCompress (line 21) | ModeCompress os.FileMode = 1 << 16 type Entry (line 26) | type Entry interface type File (line 41) | type File struct method Type (line 52) | func (f *File) Type() EntryType { method Size (line 56) | func (f *File) Size() int64 { method FileMode (line 62) | func (f *File) FileMode() os.FileMode { method ModificationTime (line 66) | func (f *File) ModificationTime() time.Time { type Dir (line 75) | type Dir struct method Type (line 88) | func (d *Dir) Type() EntryType { method Size (line 92) | func (d *Dir) Size() int64 { method FileMode (line 96) | func (d *Dir) FileMode() os.FileMode { method ModificationTime (line 100) | func (d *Dir) ModificationTime() time.Time { method Add (line 108) | func (d *Dir) Add(name string, entry Entry) error { method Find (line 139) | func (d *Dir) Find(name string) (Entry, int, error) { type EntryInfo (line 150) | type EntryInfo struct method Name (line 158) | func (info *EntryInfo) Name() string { method Size (line 162) | func (info *EntryInfo) Size() int64 { method Mode (line 166) | func (info *EntryInfo) Mode() os.FileMode { method ModTime (line 170) | func (info *EntryInfo) ModTime() time.Time { method IsDir (line 174) | func (info *EntryInfo) IsDir() bool { method Sys (line 179) | func (info *EntryInfo) Sys() interface{} { type FileInfos (line 188) | type FileInfos method Len (line 190) | func (f FileInfos) Len() int { method Less (line 194) | func (f FileInfos) Less(i, j int) bool { method Swap (line 198) | func (f FileInfos) Swap(i, j int) { FILE: vendor/github.com/rainycape/vfs/file_util.go function NewRFile (line 19) | func NewRFile(f *File) (RFile, error) { function NewWFile (line 28) | func NewWFile(f *File, read bool, write bool) (WFile, error) { function closeFile (line 38) | func closeFile(f *file) { function fileData (line 42) | func fileData(f *File) ([]byte, error) { type file (line 58) | type file struct method Read (line 67) | func (f *file) Read(p []byte) (int, error) { method Seek (line 87) | func (f *file) Seek(offset int64, whence int) (int64, error) { method Write (line 111) | func (f *file) Write(p []byte) (int, error) { method Close (line 130) | func (f *file) Close() error { method IsCompressed (line 159) | func (f *file) IsCompressed() bool { method SetCompressed (line 163) | func (f *file) SetCompressed(c bool) { FILE: vendor/github.com/rainycape/vfs/fs.go type fileSystem (line 17) | type fileSystem struct method path (line 22) | func (fs *fileSystem) path(name string) string { method Root (line 29) | func (fs *fileSystem) Root() string { method IsTemporary (line 34) | func (fs *fileSystem) IsTemporary() bool { method Open (line 38) | func (fs *fileSystem) Open(path string) (RFile, error) { method OpenFile (line 46) | func (fs *fileSystem) OpenFile(path string, flag int, mode os.FileMode... method Lstat (line 54) | func (fs *fileSystem) Lstat(path string) (os.FileInfo, error) { method Stat (line 62) | func (fs *fileSystem) Stat(path string) (os.FileInfo, error) { method ReadDir (line 70) | func (fs *fileSystem) ReadDir(path string) ([]os.FileInfo, error) { method Mkdir (line 78) | func (fs *fileSystem) Mkdir(path string, perm os.FileMode) error { method Remove (line 82) | func (fs *fileSystem) Remove(path string) error { method String (line 86) | func (fs *fileSystem) String() string { method Close (line 92) | func (f *fileSystem) Close() error { function newFS (line 99) | func newFS(root string) (*fileSystem, error) { function FS (line 112) | func FS(root string) (VFS, error) { function TmpFS (line 121) | func TmpFS(prefix string) (TemporaryVFS, error) { FILE: vendor/github.com/rainycape/vfs/map.go function Map (line 13) | func Map(files map[string]*File) (VFS, error) { FILE: vendor/github.com/rainycape/vfs/mem.go type memoryFileSystem (line 18) | type memoryFileSystem struct method entry (line 24) | func (fs *memoryFileSystem) entry(path string) (Entry, *Dir, int, erro... method dirEntry (line 59) | func (fs *memoryFileSystem) dirEntry(path string) (*Dir, error) { method Open (line 70) | func (fs *memoryFileSystem) Open(path string) (RFile, error) { method OpenFile (line 81) | func (fs *memoryFileSystem) OpenFile(path string, flag int, mode os.Fi... method Lstat (line 133) | func (fs *memoryFileSystem) Lstat(path string) (os.FileInfo, error) { method Stat (line 137) | func (fs *memoryFileSystem) Stat(path string) (os.FileInfo, error) { method ReadDir (line 145) | func (fs *memoryFileSystem) ReadDir(path string) ([]os.FileInfo, error) { method readDir (line 151) | func (fs *memoryFileSystem) readDir(path string) ([]os.FileInfo, error) { method Mkdir (line 172) | func (fs *memoryFileSystem) Mkdir(path string, perm os.FileMode) error { method Remove (line 199) | func (fs *memoryFileSystem) Remove(path string) error { method String (line 218) | func (fs *memoryFileSystem) String() string { function newMemory (line 222) | func newMemory() *memoryFileSystem { function Memory (line 233) | func Memory() VFS { function cleanPath (line 237) | func cleanPath(path string) string { FILE: vendor/github.com/rainycape/vfs/mounter.go constant separator (line 11) | separator = "/" function hasSubdir (line 14) | func hasSubdir(root, dir string) (string, bool) { type mountPoint (line 26) | type mountPoint struct method String (line 31) | func (m *mountPoint) String() string { type Mounter (line 38) | type Mounter struct method fs (line 42) | func (m *Mounter) fs(p string) (VFS, string, error) { method Mount (line 53) | func (m *Mounter) Mount(fs VFS, point string) error { method Umount (line 78) | func (m *Mounter) Umount(point string) error { method Open (line 95) | func (m *Mounter) Open(path string) (RFile, error) { method OpenFile (line 103) | func (m *Mounter) OpenFile(path string, flag int, perm os.FileMode) (W... method Lstat (line 111) | func (m *Mounter) Lstat(path string) (os.FileInfo, error) { method Stat (line 119) | func (m *Mounter) Stat(path string) (os.FileInfo, error) { method ReadDir (line 127) | func (m *Mounter) ReadDir(path string) ([]os.FileInfo, error) { method Mkdir (line 135) | func (m *Mounter) Mkdir(path string, perm os.FileMode) error { method Remove (line 143) | func (m *Mounter) Remove(path string) error { method String (line 153) | func (m *Mounter) String() string { function mounterCompileTimeCheck (line 161) | func mounterCompileTimeCheck() VFS { FILE: vendor/github.com/rainycape/vfs/open.go function Zip (line 23) | func Zip(r io.Reader, size int64) (VFS, error) { function Tar (line 62) | func Tar(r io.Reader) (VFS, error) { function TarGzip (line 91) | func TarGzip(r io.Reader) (VFS, error) { function TarBzip2 (line 102) | func TarBzip2(r io.Reader) (VFS, error) { function Open (line 115) | func Open(filename string) (VFS, error) { FILE: vendor/github.com/rainycape/vfs/open_test.go function testOpenedVFS (line 8) | func testOpenedVFS(t *testing.T, fs VFS) { function testOpenFilename (line 25) | func testOpenFilename(t *testing.T, filename string) { function TestOpenZip (line 34) | func TestOpenZip(t *testing.T) { function TestOpenTar (line 38) | func TestOpenTar(t *testing.T) { function TestOpenTarGzip (line 42) | func TestOpenTarGzip(t *testing.T) { function TestOpenTarBzip2 (line 46) | func TestOpenTarBzip2(t *testing.T) { FILE: vendor/github.com/rainycape/vfs/rewriter.go type rewriterFileSystem (line 8) | type rewriterFileSystem struct method VFS (line 13) | func (fs *rewriterFileSystem) VFS() VFS { method Open (line 17) | func (fs *rewriterFileSystem) Open(path string) (RFile, error) { method OpenFile (line 21) | func (fs *rewriterFileSystem) OpenFile(path string, flag int, perm os.... method Lstat (line 25) | func (fs *rewriterFileSystem) Lstat(path string) (os.FileInfo, error) { method Stat (line 29) | func (fs *rewriterFileSystem) Stat(path string) (os.FileInfo, error) { method ReadDir (line 33) | func (fs *rewriterFileSystem) ReadDir(path string) ([]os.FileInfo, err... method Mkdir (line 37) | func (fs *rewriterFileSystem) Mkdir(path string, perm os.FileMode) err... method Remove (line 41) | func (fs *rewriterFileSystem) Remove(path string) error { method String (line 45) | func (fs *rewriterFileSystem) String() string { function Rewriter (line 51) | func Rewriter(fs VFS, rewriter func(oldPath string) (newPath string)) VFS { FILE: vendor/github.com/rainycape/vfs/ro.go type readOnlyFileSystem (line 15) | type readOnlyFileSystem struct method VFS (line 19) | func (fs *readOnlyFileSystem) VFS() VFS { method Open (line 23) | func (fs *readOnlyFileSystem) Open(path string) (RFile, error) { method OpenFile (line 27) | func (fs *readOnlyFileSystem) OpenFile(path string, flag int, perm os.... method Lstat (line 34) | func (fs *readOnlyFileSystem) Lstat(path string) (os.FileInfo, error) { method Stat (line 38) | func (fs *readOnlyFileSystem) Stat(path string) (os.FileInfo, error) { method ReadDir (line 42) | func (fs *readOnlyFileSystem) ReadDir(path string) ([]os.FileInfo, err... method Mkdir (line 46) | func (fs *readOnlyFileSystem) Mkdir(path string, perm os.FileMode) err... method Remove (line 50) | func (fs *readOnlyFileSystem) Remove(path string) error { method String (line 54) | func (fs *readOnlyFileSystem) String() string { function ReadOnly (line 59) | func ReadOnly(fs VFS) VFS { FILE: vendor/github.com/rainycape/vfs/util.go type WalkFunc (line 23) | type WalkFunc function walk (line 25) | func walk(fs VFS, p string, info os.FileInfo, fn WalkFunc) error { function Walk (line 60) | func Walk(fs VFS, root string, fn WalkFunc) error { function makeDir (line 68) | func makeDir(fs VFS, path string, perm os.FileMode) error { function MkdirAll (line 85) | func MkdirAll(fs VFS, path string, perm os.FileMode) error { function RemoveAll (line 103) | func RemoveAll(fs VFS, path string) error { function ReadFile (line 128) | func ReadFile(fs VFS, path string) ([]byte, error) { function WriteFile (line 140) | func WriteFile(fs VFS, path string, data []byte, perm os.FileMode) error { function Clone (line 155) | func Clone(dst VFS, src VFS) error { function IsExist (line 189) | func IsExist(err error) bool { function IsNotExist (line 195) | func IsNotExist(err error) bool { type Compressor (line 202) | type Compressor interface function Compress (line 209) | func Compress(fs VFS) error { FILE: vendor/github.com/rainycape/vfs/vfs.go type Opener (line 11) | type Opener interface type RFile (line 24) | type RFile interface type WFile (line 35) | type WFile interface type VFS (line 43) | type VFS interface type TemporaryVFS (line 72) | type TemporaryVFS interface type Container (line 82) | type Container interface FILE: vendor/github.com/rainycape/vfs/vfs_test.go constant goTestFile (line 15) | goTestFile = "go1.3.src.tar.gz" type errNoTestFile (line 18) | type errNoTestFile method Error (line 20) | func (e errNoTestFile) Error() string { function openOptionalTestFile (line 24) | func openOptionalTestFile(t testing.TB, name string) *os.File { function testVFS (line 33) | func testVFS(t *testing.T, fs VFS) { function TestMapFS (line 134) | func TestMapFS(t *testing.T) { function TestPopulatedMap (line 142) | func TestPopulatedMap(t *testing.T) { function TestBadPopulatedMap (line 163) | func TestBadPopulatedMap(t *testing.T) { function TestTmpFS (line 175) | func TestTmpFS(t *testing.T) { constant go13FileCount (line 185) | go13FileCount = 4157 constant go13DirCount (line 187) | go13DirCount = 407 + 1 function countFileSystem (line 190) | func countFileSystem(fs VFS) (int, int, error) { function testGoFileCount (line 206) | func testGoFileCount(t *testing.T, fs VFS) { function TestGo13Files (line 219) | func TestGo13Files(t *testing.T) { function TestMounter (line 229) | func TestMounter(t *testing.T) { function TestClone (line 241) | func TestClone(t *testing.T) { function measureVFSMemorySize (line 274) | func measureVFSMemorySize(t testing.TB, fs VFS) int { function hashVFS (line 293) | func hashVFS(t testing.TB, fs VFS) string { function TestCompress (line 315) | func TestCompress(t *testing.T) { FILE: vendor/github.com/rainycape/vfs/write.go function copyVFS (line 11) | func copyVFS(fs VFS, copier func(p string, info os.FileInfo, f io.Reader... function WriteZip (line 29) | func WriteZip(w io.Writer, fs VFS) error { function WriteTar (line 51) | func WriteTar(w io.Writer, fs VFS) error { function WriteTarGzip (line 72) | func WriteTarGzip(w io.Writer, fs VFS) error { FILE: vendor/github.com/rainycape/vfs/write_test.go type writeTester (line 10) | type writeTester struct function TestWrite (line 16) | func TestWrite(t *testing.T) { FILE: vendor/github.com/stretchr/testify/assert/assertions.go type TestingT (line 15) | type TestingT interface type Comparison (line 20) | type Comparison function ObjectsAreEqual (line 29) | func ObjectsAreEqual(expected, actual interface{}) bool { function CallerInfo (line 65) | func CallerInfo() string { function getWhitespaceString (line 89) | func getWhitespaceString() string { function messageFromMsgAndArgs (line 102) | func messageFromMsgAndArgs(msgAndArgs ...interface{}) string { function indentMessageLines (line 117) | func indentMessageLines(message string, tabs int) string { function Fail (line 139) | func Fail(t TestingT, failureMessage string, msgAndArgs ...interface{}) ... function Implements (line 165) | func Implements(t TestingT, interfaceObject interface{}, object interfac... function IsType (line 178) | func IsType(t TestingT, expectedType interface{}, object interface{}, ms... function Equal (line 192) | func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...inter... function Exactly (line 208) | func Exactly(t TestingT, expected, actual interface{}, msgAndArgs ...int... function NotNil (line 226) | func NotNil(t TestingT, object interface{}, msgAndArgs ...interface{}) b... function isNil (line 248) | func isNil(object interface{}) bool { function Nil (line 267) | func Nil(t TestingT, object interface{}, msgAndArgs ...interface{}) bool { function isEmpty (line 290) | func isEmpty(object interface{}) bool { function Empty (line 334) | func Empty(t TestingT, object interface{}, msgAndArgs ...interface{}) bo... function NotEmpty (line 353) | func NotEmpty(t TestingT, object interface{}, msgAndArgs ...interface{})... function getLen (line 366) | func getLen(x interface{}) (ok bool, length int) { function Len (line 382) | func Len(t TestingT, object interface{}, length int, msgAndArgs ...inter... function True (line 399) | func True(t TestingT, value bool, msgAndArgs ...interface{}) bool { function False (line 414) | func False(t TestingT, value bool, msgAndArgs ...interface{}) bool { function NotEqual (line 429) | func NotEqual(t TestingT, expected, actual interface{}, msgAndArgs ...in... function includeElement (line 443) | func includeElement(list interface{}, element interface{}) (ok, found bo... function Contains (line 474) | func Contains(t TestingT, s, contains interface{}, msgAndArgs ...interfa... function NotContains (line 495) | func NotContains(t TestingT, s, contains interface{}, msgAndArgs ...inte... function Condition (line 510) | func Condition(t TestingT, comp Comparison, msgAndArgs ...interface{}) b... type PanicTestFunc (line 520) | type PanicTestFunc function didPanic (line 523) | func didPanic(f PanicTestFunc) (bool, interface{}) { function Panics (line 551) | func Panics(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) bool { function NotPanics (line 567) | func NotPanics(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) b... function WithinDuration (line 581) | func WithinDuration(t TestingT, expected, actual time.Time, delta time.D... function toFloat (line 591) | func toFloat(x interface{}) (float64, bool) { function InDelta (line 630) | func InDelta(t TestingT, expected, actual interface{}, delta float64, ms... function calcEpsilonDelta (line 648) | func calcEpsilonDelta(expected, actual interface{}, epsilon float64) flo... function InEpsilon (line 675) | func InEpsilon(t TestingT, expected, actual interface{}, epsilon float64... function NoError (line 693) | func NoError(t TestingT, err error, msgAndArgs ...interface{}) bool { function Error (line 709) | func Error(t TestingT, err error, msgAndArgs ...interface{}) bool { function EqualError (line 725) | func EqualError(t TestingT, theError error, errString string, msgAndArgs... function matchRegexp (line 737) | func matchRegexp(rx interface{}, str interface{}) bool { function Regexp (line 756) | func Regexp(t TestingT, rx interface{}, str interface{}) bool { function NotRegexp (line 773) | func NotRegexp(t TestingT, rx interface{}, str interface{}) bool { FILE: vendor/github.com/stretchr/testify/assert/assertions_test.go type AssertionTesterInterface (line 11) | type AssertionTesterInterface interface type AssertionTesterConformingObject (line 16) | type AssertionTesterConformingObject struct method TestMethod (line 19) | func (a *AssertionTesterConformingObject) TestMethod() { type AssertionTesterNonConformingObject (line 23) | type AssertionTesterNonConformingObject struct function TestObjectsAreEqual (line 26) | func TestObjectsAreEqual(t *testing.T) { function TestImplements (line 46) | func TestImplements(t *testing.T) { function TestIsType (line 59) | func TestIsType(t *testing.T) { function TestEqual (line 72) | func TestEqual(t *testing.T) { function TestNotNil (line 100) | func TestNotNil(t *testing.T) { function TestNil (line 113) | func TestNil(t *testing.T) { function TestTrue (line 126) | func TestTrue(t *testing.T) { function TestFalse (line 139) | func TestFalse(t *testing.T) { function TestExactly (line 152) | func TestExactly(t *testing.T) { function TestNotEqual (line 180) | func TestNotEqual(t *testing.T) { function TestContains (line 217) | func TestContains(t *testing.T) { function TestNotContains (line 238) | func TestNotContains(t *testing.T) { function Test_includeElement (line 259) | func Test_includeElement(t *testing.T) { function TestCondition (line 302) | func TestCondition(t *testing.T) { function TestDidPanic (line 315) | func TestDidPanic(t *testing.T) { function TestPanics (line 330) | func TestPanics(t *testing.T) { function TestNotPanics (line 347) | func TestNotPanics(t *testing.T) { function TestEqual_Funcs (line 364) | func TestEqual_Funcs(t *testing.T) { function TestNoError (line 377) | func TestNoError(t *testing.T) { function TestError (line 393) | func TestError(t *testing.T) { function TestEqualError (line 409) | func TestEqualError(t *testing.T) { function Test_isEmpty (line 425) | func Test_isEmpty(t *testing.T) { function TestEmpty (line 450) | func TestEmpty(t *testing.T) { function TestNotEmpty (line 471) | func TestNotEmpty(t *testing.T) { function Test_getLen (line 492) | func Test_getLen(t *testing.T) { function TestLen (line 537) | func TestLen(t *testing.T) { function TestWithinDuration (line 599) | func TestWithinDuration(t *testing.T) { function TestInDelta (line 618) | func TestInDelta(t *testing.T) { function TestInEpsilon (line 652) | func TestInEpsilon(t *testing.T) { function TestRegexp (line 691) | func TestRegexp(t *testing.T) { FILE: vendor/github.com/stretchr/testify/assert/forward_assertions.go type Assertions (line 5) | type Assertions struct method Fail (line 16) | func (a *Assertions) Fail(failureMessage string, msgAndArgs ...interfa... method Implements (line 23) | func (a *Assertions) Implements(interfaceObject interface{}, object in... method IsType (line 28) | func (a *Assertions) IsType(expectedType interface{}, object interface... method Equal (line 37) | func (a *Assertions) Equal(expected, actual interface{}, msgAndArgs ..... method Exactly (line 46) | func (a *Assertions) Exactly(expected, actual interface{}, msgAndArgs ... method NotNil (line 55) | func (a *Assertions) NotNil(object interface{}, msgAndArgs ...interfac... method Nil (line 64) | func (a *Assertions) Nil(object interface{}, msgAndArgs ...interface{}... method Empty (line 74) | func (a *Assertions) Empty(object interface{}, msgAndArgs ...interface... method NotEmpty (line 86) | func (a *Assertions) NotEmpty(object interface{}, msgAndArgs ...interf... method Len (line 96) | func (a *Assertions) Len(object interface{}, length int, msgAndArgs ..... method True (line 105) | func (a *Assertions) True(value bool, msgAndArgs ...interface{}) bool { method False (line 114) | func (a *Assertions) False(value bool, msgAndArgs ...interface{}) bool { method NotEqual (line 123) | func (a *Assertions) NotEqual(expected, actual interface{}, msgAndArgs... method Contains (line 132) | func (a *Assertions) Contains(s, contains interface{}, msgAndArgs ...i... method NotContains (line 141) | func (a *Assertions) NotContains(s, contains interface{}, msgAndArgs .... method Condition (line 146) | func (a *Assertions) Condition(comp Comparison, msgAndArgs ...interfac... method Panics (line 157) | func (a *Assertions) Panics(f PanicTestFunc, msgAndArgs ...interface{}... method NotPanics (line 168) | func (a *Assertions) NotPanics(f PanicTestFunc, msgAndArgs ...interfac... method WithinDuration (line 177) | func (a *Assertions) WithinDuration(expected, actual time.Time, delta ... method InDelta (line 186) | func (a *Assertions) InDelta(expected, actual interface{}, delta float... method InEpsilon (line 193) | func (a *Assertions) InEpsilon(expected, actual interface{}, epsilon f... method NoError (line 205) | func (a *Assertions) NoError(theError error, msgAndArgs ...interface{}... method Error (line 217) | func (a *Assertions) Error(theError error, msgAndArgs ...interface{}) ... method EqualError (line 230) | func (a *Assertions) EqualError(theError error, errString string, msgA... method Regexp (line 240) | func (a *Assertions) Regexp(rx interface{}, str interface{}) bool { method NotRegexp (line 250) | func (a *Assertions) NotRegexp(rx interface{}, str interface{}) bool { function New (line 9) | func New(t TestingT) *Assertions { FILE: vendor/github.com/stretchr/testify/assert/forward_assertions_test.go function TestImplementsWrapper (line 10) | func TestImplementsWrapper(t *testing.T) { function TestIsTypeWrapper (line 21) | func TestIsTypeWrapper(t *testing.T) { function TestEqualWrapper (line 33) | func TestEqualWrapper(t *testing.T) { function TestNotNilWrapper (line 53) | func TestNotNilWrapper(t *testing.T) { function TestNilWrapper (line 65) | func TestNilWrapper(t *testing.T) { function TestTrueWrapper (line 77) | func TestTrueWrapper(t *testing.T) { function TestFalseWrapper (line 89) | func TestFalseWrapper(t *testing.T) { function TestExactlyWrapper (line 101) | func TestExactlyWrapper(t *testing.T) { function TestNotEqualWrapper (line 128) | func TestNotEqualWrapper(t *testing.T) { function TestContainsWrapper (line 149) | func TestContainsWrapper(t *testing.T) { function TestNotContainsWrapper (line 170) | func TestNotContainsWrapper(t *testing.T) { function TestConditionWrapper (line 191) | func TestConditionWrapper(t *testing.T) { function TestDidPanicWrapper (line 205) | func TestDidPanicWrapper(t *testing.T) { function TestPanicsWrapper (line 220) | func TestPanicsWrapper(t *testing.T) { function TestNotPanicsWrapper (line 237) | func TestNotPanicsWrapper(t *testing.T) { function TestEqualWrapper_Funcs (line 254) | func TestEqualWrapper_Funcs(t *testing.T) { function TestNoErrorWrapper (line 269) | func TestNoErrorWrapper(t *testing.T) { function TestErrorWrapper (line 285) | func TestErrorWrapper(t *testing.T) { function TestEqualErrorWrapper (line 301) | func TestEqualErrorWrapper(t *testing.T) { function TestEmptyWrapper (line 318) | func TestEmptyWrapper(t *testing.T) { function TestNotEmptyWrapper (line 336) | func TestNotEmptyWrapper(t *testing.T) { function TestLenWrapper (line 354) | func TestLenWrapper(t *testing.T) { function TestWithinDurationWrapper (line 394) | func TestWithinDurationWrapper(t *testing.T) { function TestInDeltaWrapper (line 413) | func TestInDeltaWrapper(t *testing.T) { function TestInEpsilonWrapper (line 447) | func TestInEpsilonWrapper(t *testing.T) { function TestRegexpWrapper (line 485) | func TestRegexpWrapper(t *testing.T) { FILE: vendor/github.com/stretchr/testify/assert/http_assertions.go function httpCode (line 13) | func httpCode(handler http.HandlerFunc, mode, url string, values url.Val... function HTTPSuccess (line 28) | func HTTPSuccess(t TestingT, handler http.HandlerFunc, mode, url string,... function HTTPRedirect (line 41) | func HTTPRedirect(t TestingT, handler http.HandlerFunc, mode, url string... function HTTPError (line 54) | func HTTPError(t TestingT, handler http.HandlerFunc, mode, url string, v... function HttpBody (line 64) | func HttpBody(handler http.HandlerFunc, mode, url string, values url.Val... function HTTPBodyContains (line 80) | func HTTPBodyContains(t TestingT, handler http.HandlerFunc, mode, url st... function HTTPBodyNotContains (line 97) | func HTTPBodyNotContains(t TestingT, handler http.HandlerFunc, mode, url... method HTTPSuccess (line 117) | func (a *Assertions) HTTPSuccess(handler http.HandlerFunc, mode, url str... method HTTPRedirect (line 126) | func (a *Assertions) HTTPRedirect(handler http.HandlerFunc, mode, url st... method HTTPError (line 135) | func (a *Assertions) HTTPError(handler http.HandlerFunc, mode, url strin... method HTTPBodyContains (line 145) | func (a *Assertions) HTTPBodyContains(handler http.HandlerFunc, mode, ur... method HTTPBodyNotContains (line 155) | func (a *Assertions) HTTPBodyNotContains(handler http.HandlerFunc, mode,... FILE: vendor/github.com/stretchr/testify/assert/http_assertions_test.go function httpOK (line 10) | func httpOK(w http.ResponseWriter, r *http.Request) { function httpRedirect (line 14) | func httpRedirect(w http.ResponseWriter, r *http.Request) { function httpError (line 18) | func httpError(w http.ResponseWriter, r *http.Request) { function TestHTTPStatuses (line 22) | func TestHTTPStatuses(t *testing.T) { function TestHTTPStatusesWrapper (line 39) | func TestHTTPStatusesWrapper(t *testing.T) { function httpHelloName (line 56) | func httpHelloName(w http.ResponseWriter, r *http.Request) { function TestHttpBody (line 61) | func TestHttpBody(t *testing.T) { function TestHttpBodyWrappers (line 74) | func TestHttpBodyWrappers(t *testing.T) { FILE: vendor/github.com/stretchr/testify/require/requirements.go type TestingT (line 8) | type TestingT interface function FailNow (line 14) | func FailNow(t TestingT, failureMessage string, msgAndArgs ...interface{... function Implements (line 22) | func Implements(t TestingT, interfaceObject interface{}, object interfac... function IsType (line 29) | func IsType(t TestingT, expectedType interface{}, object interface{}, ms... function Equal (line 40) | func Equal(t TestingT, expected, actual interface{}, msgAndArgs ...inter... function Exactly (line 51) | func Exactly(t TestingT, expected, actual interface{}, msgAndArgs ...int... function NotNil (line 62) | func NotNil(t TestingT, object interface{}, msgAndArgs ...interface{}) { function Nil (line 73) | func Nil(t TestingT, object interface{}, msgAndArgs ...interface{}) { function Empty (line 85) | func Empty(t TestingT, object interface{}, msgAndArgs ...interface{}) { function NotEmpty (line 98) | func NotEmpty(t TestingT, object interface{}, msgAndArgs ...interface{}) { function True (line 109) | func True(t TestingT, value bool, msgAndArgs ...interface{}) { function False (line 120) | func False(t TestingT, value bool, msgAndArgs ...interface{}) { function NotEqual (line 131) | func NotEqual(t TestingT, expected, actual interface{}, msgAndArgs ...in... function Contains (line 142) | func Contains(t TestingT, s, contains string, msgAndArgs ...interface{}) { function NotContains (line 153) | func NotContains(t TestingT, s, contains string, msgAndArgs ...interface... function Condition (line 160) | func Condition(t TestingT, comp assert.Comparison, msgAndArgs ...interfa... function Panics (line 173) | func Panics(t TestingT, f assert.PanicTestFunc, msgAndArgs ...interface{... function NotPanics (line 186) | func NotPanics(t TestingT, f assert.PanicTestFunc, msgAndArgs ...interfa... function WithinDuration (line 197) | func WithinDuration(t TestingT, expected, actual time.Time, delta time.D... function InDelta (line 208) | func InDelta(t TestingT, expected, actual interface{}, delta float64, ms... function InEpsilon (line 217) | func InEpsilon(t TestingT, expected, actual interface{}, epsilon float64... function NoError (line 234) | func NoError(t TestingT, err error, msgAndArgs ...interface{}) { function Error (line 248) | func Error(t TestingT, err error, msgAndArgs ...interface{}) { function EqualError (line 263) | func EqualError(t TestingT, theError error, errString string, msgAndArgs... FILE: vendor/github.com/stretchr/testify/require/requirements_test.go type AssertionTesterInterface (line 10) | type AssertionTesterInterface interface type AssertionTesterConformingObject (line 15) | type AssertionTesterConformingObject struct method TestMethod (line 18) | func (a *AssertionTesterConformingObject) TestMethod() { type AssertionTesterNonConformingObject (line 22) | type AssertionTesterNonConformingObject struct type MockT (line 25) | type MockT struct method FailNow (line 29) | func (t *MockT) FailNow() { method Errorf (line 33) | func (t *MockT) Errorf(format string, args ...interface{}) { function TestImplements (line 37) | func TestImplements(t *testing.T) { function TestIsType (line 48) | func TestIsType(t *testing.T) { function TestEqual (line 59) | func TestEqual(t *testing.T) { function TestNotEqual (line 71) | func TestNotEqual(t *testing.T) { function TestExactly (line 81) | func TestExactly(t *testing.T) { function TestNotNil (line 96) | func TestNotNil(t *testing.T) { function TestNil (line 107) | func TestNil(t *testing.T) { function TestTrue (line 118) | func TestTrue(t *testing.T) { function TestFalse (line 129) | func TestFalse(t *testing.T) { function TestContains (line 140) | func TestContains(t *testing.T) { function TestNotContains (line 151) | func TestNotContains(t *testing.T) { function TestPanics (line 162) | func TestPanics(t *testing.T) { function TestNotPanics (line 175) | func TestNotPanics(t *testing.T) { function TestNoError (line 188) | func TestNoError(t *testing.T) { function TestError (line 199) | func TestError(t *testing.T) { function TestEqualError (line 210) | func TestEqualError(t *testing.T) { function TestEmpty (line 221) | func TestEmpty(t *testing.T) { function TestNotEmpty (line 232) | func TestNotEmpty(t *testing.T) { function TestWithinDuration (line 243) | func TestWithinDuration(t *testing.T) { function TestInDelta (line 257) | func TestInDelta(t *testing.T) { FILE: vendor/gopkg.in/djherbis/stream.v1/fs.go type File (line 9) | type File interface type FileSystem (line 18) | type FileSystem interface type stdFS (line 27) | type stdFS struct method Create (line 29) | func (fs stdFS) Create(name string) (File, error) { method Open (line 33) | func (fs stdFS) Open(name string) (File, error) { method Remove (line 37) | func (fs stdFS) Remove(name string) error { FILE: vendor/gopkg.in/djherbis/stream.v1/memfs.go type memfs (line 13) | type memfs struct method Create (line 25) | func (fs *memfs) Create(key string) (File, error) { method Open (line 38) | func (fs *memfs) Open(key string) (File, error) { method Remove (line 48) | func (fs *memfs) Remove(key string) error { function NewMemFS (line 19) | func NewMemFS() FileSystem { type memFile (line 55) | type memFile struct method Name (line 62) | func (f *memFile) Name() string { method Write (line 66) | func (f *memFile) Write(p []byte) (int, error) { method Bytes (line 75) | func (f *memFile) Bytes() []byte { method Close (line 81) | func (f *memFile) Close() error { type memReader (line 85) | type memReader struct method ReadAt (line 90) | func (r *memReader) ReadAt(p []byte, off int64) (n int, err error) { method Read (line 99) | func (r *memReader) Read(p []byte) (n int, err error) { method Close (line 105) | func (r *memReader) Close() error { FILE: vendor/gopkg.in/djherbis/stream.v1/reader.go type Reader (line 6) | type Reader struct method Name (line 12) | func (r *Reader) Name() string { return r.file.Name() } method ReadAt (line 17) | func (r *Reader) ReadAt(p []byte, off int64) (n int, err error) { method Read (line 48) | func (r *Reader) Read(p []byte) (n int, err error) { method Close (line 79) | func (r *Reader) Close() error { FILE: vendor/gopkg.in/djherbis/stream.v1/stream.go type Stream (line 13) | type Stream struct method Name (line 40) | func (s *Stream) Name() string { return s.file.Name() } method Write (line 43) | func (s *Stream) Write(p []byte) (int, error) { method Close (line 52) | func (s *Stream) Close() error { method Remove (line 63) | func (s *Stream) Remove() error { method NextReader (line 72) | func (s *Stream) NextReader() (*Reader, error) { method inc (line 91) | func (s *Stream) inc() { s.grp.Add(1) } method dec (line 92) | func (s *Stream) dec() { s.grp.Done() } function New (line 22) | func New(name string) (*Stream, error) { function NewStream (line 27) | func NewStream(name string, fs FileSystem) (*Stream, error) { FILE: vendor/gopkg.in/djherbis/stream.v1/stream_test.go type badFs (line 17) | type badFs struct method Create (line 28) | func (fs badFs) Create(name string) (File, error) { return os.Create(n... method Open (line 29) | func (fs badFs) Open(name string) (File, error) { method Remove (line 37) | func (fs badFs) Remove(name string) error { return os.Remove(name) } type badFile (line 20) | type badFile struct method Name (line 22) | func (r badFile) Name() string { return r.n... method Read (line 23) | func (r badFile) Read(p []byte) (int, error) { return 0, ... method ReadAt (line 24) | func (r badFile) ReadAt(p []byte, off int64) (int, error) { return 0, ... method Write (line 25) | func (r badFile) Write(p []byte) (int, error) { return 0, ... method Close (line 26) | func (r badFile) Close() error { return err... function TestMemFs (line 39) | func TestMemFs(t *testing.T) { function TestBadFile (line 47) | func TestBadFile(t *testing.T) { function TestBadFs (line 78) | func TestBadFs(t *testing.T) { function TestStd (line 97) | func TestStd(t *testing.T) { function TestMem (line 109) | func TestMem(t *testing.T) { function TestRemove (line 119) | func TestRemove(t *testing.T) { function testFile (line 140) | func testFile(f *Stream, t *testing.T) { function testReader (line 156) | func testReader(f *Stream, t *testing.T) { FILE: vendor/gopkg.in/djherbis/stream.v1/sync.go type broadcaster (line 8) | type broadcaster struct method Wait (line 20) | func (b *broadcaster) Wait() { method IsOpen (line 26) | func (b *broadcaster) IsOpen() bool { method Close (line 30) | func (b *broadcaster) Close() error { function newBroadcaster (line 14) | func newBroadcaster() *broadcaster {