Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
func MakeEndpoints ¶
func MakeEndpoints(svc services.StrServiceImp, logger log.Logger) Endpoints
type IsPalRequest ¶
type IsPalRequest struct {
Word string `json:"word"`
}
type IsPalResponse ¶
type IsPalResponse struct {
Message bool `json:"message"`
}
type ReverseRequest ¶
type ReverseRequest struct {
Word string `json:"word"`
}
type ReverseResponse ¶
type ReverseResponse struct {
Word string `json:"reversed_word"`
}
Click to show internal directories.
Click to hide internal directories.