Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServer ¶
func CreateServer() *httprouter.Router
CreateServer creates a server router and initializes the endpoints
func GenerateID ¶
func GenerateID(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
GenerateID generates a single ID endpoint
func GenerateIDs ¶
func GenerateIDs(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
GenerateIDs generates a set of SSIDs provided a `count` and `generator ID`
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse servers error response
type SSIDResponse ¶
SSIDResponse servers reponse
Click to show internal directories.
Click to hide internal directories.