Documentation ¶
Index ¶
- type ObjectServer
- func (objSrv *ObjectServer) FetchObjects(hashes []hash.Hash) error
- func (objSrv *ObjectServer) GetObjects(hashes []hash.Hash) (objectserver.ObjectsReader, error)
- func (objSrv *ObjectServer) GetStats() Stats
- func (objSrv *ObjectServer) LinkObject(filename string, hashVal hash.Hash) (bool, error)
- func (objSrv *ObjectServer) WriteHtml(writer io.Writer)
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectServer ¶
type ObjectServer struct {
// contains filtered or unexported fields
}
func NewObjectServer ¶
func NewObjectServer(baseDir string, maxCachedBytes uint64, objectServerAddress string, logger log.DebugLogger) (*ObjectServer, error)
func (*ObjectServer) FetchObjects ¶
func (objSrv *ObjectServer) FetchObjects(hashes []hash.Hash) error
func (*ObjectServer) GetObjects ¶
func (objSrv *ObjectServer) GetObjects(hashes []hash.Hash) ( objectserver.ObjectsReader, error)
func (*ObjectServer) GetStats ¶ added in v0.3.4
func (objSrv *ObjectServer) GetStats() Stats
func (*ObjectServer) LinkObject ¶
func (*ObjectServer) WriteHtml ¶
func (objSrv *ObjectServer) WriteHtml(writer io.Writer)
Click to show internal directories.
Click to hide internal directories.