Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
func (*Entry) GetKeySecret ¶
type EnvKeyLoader ¶
type EnvKeyLoader struct {
Prefix string
Postfix string
RequiredFields []string
AllowPartial bool
// contains filtered or unexported fields
}
func NewEnvKeyLoader ¶
func NewEnvKeyLoader(prefix, postfix string, fields ...string) *EnvKeyLoader
type RandomBalancer ¶
type RandomBalancer struct {
// contains filtered or unexported fields
}
func NewRandomBalancer ¶
func NewRandomBalancer(source *Source) *RandomBalancer
func (*RandomBalancer) GetStats ¶
func (b *RandomBalancer) GetStats() map[int]float64
func (*RandomBalancer) Next ¶
func (b *RandomBalancer) Next() *Entry
type RoundTripBalancer ¶
type RoundTripBalancer struct {
// contains filtered or unexported fields
}
func NewRoundTripBalancer ¶
func NewRoundTripBalancer(source *Source) *RoundTripBalancer
func (*RoundTripBalancer) GetStats ¶
func (b *RoundTripBalancer) GetStats() map[int]float64
func (*RoundTripBalancer) Next ¶
func (b *RoundTripBalancer) Next() *Entry
func (*RoundTripBalancer) Peek ¶
func (b *RoundTripBalancer) Peek() *Entry
func (*RoundTripBalancer) Reset ¶
func (b *RoundTripBalancer) Reset()
Click to show internal directories.
Click to hide internal directories.