cc7a723d77
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
24 lines
498 B
Go
24 lines
498 B
Go
package blobstor
|
|
|
|
// Open opens BlobStor.
|
|
func (b *BlobStor) Open() error {
|
|
b.log.Debug("opening...")
|
|
|
|
return nil
|
|
}
|
|
|
|
// Init initializes internal data structures and system resources.
|
|
//
|
|
// If BlobStor is already initialized, no action is taken.
|
|
func (b *BlobStor) Init() error {
|
|
b.log.Debug("initializing...")
|
|
|
|
return b.blobovniczas.init()
|
|
}
|
|
|
|
// Close releases all internal resources of BlobStor.
|
|
func (b *BlobStor) Close() error {
|
|
b.log.Debug("closing...")
|
|
|
|
return b.blobovniczas.close()
|
|
}
|