Documentation
¶
Index ¶
Constants ¶
View Source
const (
// AddURL is the url for the namespace add handler (with the POST method).
AddURL = "/namespace/add"
)
View Source
const (
// GetURL is the url for the namespace get handler (with the GET method).
GetURL = "/namespace"
)
View Source
const (
// M3DBNodeNamespacesKey is the KV key that holds namespaces
M3DBNodeNamespacesKey = "m3db.node.namespaces"
)
Variables ¶
View Source
var ( // DeleteURL is the url for the namespace delete handler (with the DELETE method). DeleteURL = fmt.Sprintf("/namespace/{%s}", namespaceIDVar) )
Functions ¶
func NewAddHandler ¶
NewAddHandler returns a new instance of a namespace add handler.
func NewDeleteHandler ¶
NewDeleteHandler returns a new instance of a namespace delete handler.
func NewGetHandler ¶
NewGetHandler returns a new instance of a namespace get handler.
Types ¶
Click to show internal directories.
Click to hide internal directories.