Documentation ¶ Index ¶ type Storage func New(db *database.Database) *Storage func (s *Storage) AddBatch(ctx context.Context, batch []*entity.NetworkHostSetup) error func (s *Storage) DeleteBatchByNetworkHostIDs(ctx context.Context, networkHostIDs []uint64) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage struct { // contains filtered or unexported fields } func New ¶ func New(db *database.Database) *Storage func (*Storage) AddBatch ¶ func (s *Storage) AddBatch(ctx context.Context, batch []*entity.NetworkHostSetup) error func (*Storage) DeleteBatchByNetworkHostIDs ¶ func (s *Storage) DeleteBatchByNetworkHostIDs(ctx context.Context, networkHostIDs []uint64) error Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.