Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server exposes simple HTTP API for programmatically accessing Kopia features.
func New ¶
func New(ctx context.Context, rep *repo.Repository, hostname string, username string) (*Server, error)
New creates a Server on top of a given Repository. The server will manage sources for a given username@hostname.
func (*Server) APIHandlers ¶
APIHandlers handles API requests.
Click to show internal directories.
Click to hide internal directories.