Documentation ¶
Overview ¶
Package rest provides rest api logic
Package rest provides rest api logic
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { GetVector(w http.ResponseWriter, r *http.Request) (int, error) Locations(w http.ResponseWriter, r *http.Request) (int, error) Register(w http.ResponseWriter, r *http.Request) (int, error) RegisterMulti(w http.ResponseWriter, r *http.Request) (int, error) Remove(w http.ResponseWriter, r *http.Request) (int, error) RemoveMulti(w http.ResponseWriter, r *http.Request) (int, error) RegisterIPs(w http.ResponseWriter, r *http.Request) (int, error) RemoveIPs(w http.ResponseWriter, r *http.Request) (int, error) }
type Option ¶
type Option func(*handler)
func WithBackup ¶
func WithBackup(b backup.BackupServer) Option
Click to show internal directories.
Click to hide internal directories.