Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MirrorSettings ¶
type MirrorTargets ¶
MirrorTargets has the set of target URLs to mirror to It protects these for multi threaded access
func NewMirrorTargets ¶
func NewMirrorTargets(settings MirrorSettings) *MirrorTargets
func (*MirrorTargets) Add ¶
func (mt *MirrorTargets) Add(targets []string)
func (*MirrorTargets) Delete ¶
func (mt *MirrorTargets) Delete(targets []string)
func (*MirrorTargets) ForEach ¶
func (mt *MirrorTargets) ForEach(f func(string, *gobreaker.CircuitBreaker))
func (*MirrorTargets) ListTargets ¶
func (mt *MirrorTargets) ListTargets() []*Target
Click to show internal directories.
Click to hide internal directories.