signaller/internal/models/registeravailable/registeravailable.go
2019-08-02 18:17:18 +05:00

10 lines
311 B
Go

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.
}