Documentation
¶
Index ¶
- Constants
- type JavadocCache
- type JavadocCacheKeys
- type JavadocCached
- type JavadocHandler
- type ZipFile
- func (zf *ZipFile) Close() error
- func (zf *ZipFile) IsDir() bool
- func (zf *ZipFile) ModTime() time.Time
- func (zf *ZipFile) Mode() os.FileMode
- func (zf *ZipFile) Name() string
- func (zf *ZipFile) Read(b []byte) (int, error)
- func (zf *ZipFile) Readdir(n int) ([]os.FileInfo, error)
- func (zf *ZipFile) Seek(offset int64, whence int) (int64, error)
- func (zf *ZipFile) Size() int64
- func (zf *ZipFile) Stat() (os.FileInfo, error)
- func (zf *ZipFile) Sys() interface{}
- type ZipFileSystem
- type ZipFolder
- func (zf *ZipFolder) Close() error
- func (zf *ZipFolder) IsDir() bool
- func (zf *ZipFolder) ModTime() time.Time
- func (zf *ZipFolder) Mode() os.FileMode
- func (zf *ZipFolder) Name() string
- func (zf *ZipFolder) Read(b []byte) (int, error)
- func (zf *ZipFolder) Readdir(n int) (fi []os.FileInfo, err error)
- func (zf *ZipFolder) Seek(n int64, whence int) (int64, error)
- func (zf *ZipFolder) Size() int64
- func (zf *ZipFolder) Stat() (os.FileInfo, error)
- func (zf *ZipFolder) Sys() interface{}
- type ZipInode
Constants ¶
View Source
const ( SnapshotExpiryWindow = 1 * time.Minute GCInterval = SnapshotExpiryWindow / 2 LruCacheSize = 512 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JavadocCache ¶
type JavadocCache map[maven.Coordinate]*JavadocCached
type JavadocCacheKeys ¶
type JavadocCacheKeys struct {
// contains filtered or unexported fields
}
func (*JavadocCacheKeys) Len ¶
func (jck *JavadocCacheKeys) Len() int
func (*JavadocCacheKeys) Less ¶
func (jck *JavadocCacheKeys) Less(i, j int) bool
func (*JavadocCacheKeys) Swap ¶
func (jck *JavadocCacheKeys) Swap(i, j int)
type JavadocCached ¶
type JavadocCached struct {
// contains filtered or unexported fields
}
type JavadocHandler ¶
type JavadocHandler struct {
// contains filtered or unexported fields
}
func NewJavadocHandler ¶
func NewJavadocHandler(repository maven.Repository, coordinate maven.Coordinate) (*JavadocHandler, error)
func (*JavadocHandler) AddCompatFor ¶
func (jh *JavadocHandler) AddCompatFor(thing string)
func (*JavadocHandler) ExcludeVersion ¶
func (h *JavadocHandler) ExcludeVersion(v string)
func (*JavadocHandler) IncludeVersion ¶
func (h *JavadocHandler) IncludeVersion(v string)
func (*JavadocHandler) ServeHTTP ¶
func (h *JavadocHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ZipFileSystem ¶
type ZipFileSystem struct {
// contains filtered or unexported fields
}
func NewZipFileSystem ¶
func NewZipFileSystem(r *zip.Reader) (*ZipFileSystem, error)
type ZipFolder ¶
type ZipFolder struct {
// contains filtered or unexported fields
}
func NewZipFolder ¶
Click to show internal directories.
Click to hide internal directories.