signaller/internal/models/registeravailable/registeravailable.go

10 lines
311 B
Go
Raw Permalink Normal View History

2019-08-02 13:17:18 +00:00
package registeravailable
type Request struct {
Username string `json:"username"` // The username to check the availability of.
}
type Response struct {
Available bool `json:"available"` // A flag to indicate that the username is available. This should always be true when the server replies with 200 OK.
}