Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Create(ctx context.Context, p proxy.Proxy) (*Proxy, bool, error)
- func (h *Handler) GetProxies(ctx context.Context, opts *QueryOptions) ([]*Proxy, error)
- func (h *Handler) GetProxiesCount(ctx context.Context) (int64, error)
- func (h *Handler) Remove(ctx context.Context, id uint) error
- func (h *Handler) Update(ctx context.Context, id uint, m map[string]any) error
- type Proxy
- type QueryOptions
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) GetProxies ¶
func (*Handler) GetProxiesCount ¶
type Proxy ¶
type QueryOptions ¶
Click to show internal directories.
Click to hide internal directories.