Documentation ¶
Overview ¶
Controls replication of data between volumes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New( toVolumeId int, db *bbolt.DB, diskAccess *stodiskaccess.Controller, logger *log.Logger, start func(fn func(context.Context) error), ) *Controller
returns controller API and a function you must call (maybe in a separate goroutine) to run the logic
func (*Controller) Progress ¶
func (c *Controller) Progress() int
Click to show internal directories.
Click to hide internal directories.