package
Version:
v0.0.0-...-bc5e729
Opens a new window with list of versions in this module.
Published: Dec 9, 2017
License: MPL-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
admin
admin
is a HTTP server provides the API for the info of alive caches and databases.
We assume that only need one cache master and database master in one oncekv system, so we use the Default object using the config.Config
.
API list:
GET /caches
returns the list of the URL for the current alive cache servers.
Websocket /ws/caches
same reponse data like /caches
.
GET /dbs
returns the list of the URL for the current alive database servers.
Websocket /ws/dbs
same reponse data like /dbs
.
Documentation
¶
Admin for oncekv admin
Default act as a default Admin
Start starts the admin server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.