Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface {
Init() error
GetAll() []model.HttpProxy
Get(map[string]string) ([]model.HttpProxy, error)
Exists(model.HttpProxy) bool
Add(model.HttpProxy) bool
UpdateSchema(model.HttpProxy) error
Remove(model.HttpProxy) error
RemoveAll([]model.HttpProxy) error
Random() (model.HttpProxy, error)
Len() int
Test() bool
AddScore(key model.HttpProxy, score int) error
}
Click to show internal directories.
Click to hide internal directories.