Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GivenExistingDomain ¶
GivenExistingDomain ensures that a Domain is known to the application.
This currently is a no-op since domains can't explicitly be created.
Types ¶
type AdminAPI ¶
type AdminAPI interface {
CreateDomain(name string) error
// SavePURL creates a new or updates an existing purl.
//
// If no error occurred the returned string is the path (without host) of the created PURL.
SavePURL(purl *PURL) (string, error)
}
AdminAPI defines admin features of the application.
Click to show internal directories.
Click to hide internal directories.