package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Functions

NewBaseRouter is the constructor of BaseRouter.
NewDefaultHandler is constructor of DefaultHandler.
NewServer is constructor of Server.

# Structs

BaseRouter provides the basic routes for the job service based on the golang http server mux.
DefaultHandler is the default request handler which implements the Handler interface.
SecretAuthenticator implements interface 'Authenticator' based on simple secret.
Server serves the http requests.
ServerConfig contains the configurations of Server.

# Interfaces

Authenticator defined behaviors of doing auth checking.
Handler defines approaches to handle the http requests.
Router defines the related routes for the job service and directs the request to the right handler method.