Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeStorage ¶
type CompositeStorage struct {
// contains filtered or unexported fields
}
func NewCompositeStorage ¶
func NewCompositeStorage(storages []Storage) *CompositeStorage
func (*CompositeStorage) Save ¶
func (s *CompositeStorage) Save(fzs []forwardzone.ForwardZone) error
type ConsuleStorage ¶
type ConsuleStorage struct {
// contains filtered or unexported fields
}
func NewConsuleStorage ¶
func NewConsuleStorage(consul *api.Client) *ConsuleStorage
func (*ConsuleStorage) Save ¶
func (s *ConsuleStorage) Save(fzs []forwardzone.ForwardZone) error
type FSStorage ¶
type FSStorage struct {
// contains filtered or unexported fields
}
func NewFSStorage ¶
func (*FSStorage) Save ¶
func (s *FSStorage) Save(fzs []forwardzone.ForwardZone) error
type Storage ¶
type Storage interface {
Save(fzs []forwardzone.ForwardZone) error
}
Click to show internal directories.
Click to hide internal directories.