Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("empty string")
ErrEmpty is returned when an input string is empty.
Functions ¶
func DecodeYellRequest ¶
func EncodeResponse ¶
func EncodeResponse(w http.ResponseWriter, response interface{}) error
func MakeYellEndpoint ¶
func MakeYellEndpoint(svc YellingServiceI) endpoint.Endpoint
Types ¶
type YellingService ¶
type YellingService struct{}
func (YellingService) Yell ¶
func (YellingService) Yell(s string) error
type YellingServiceI ¶
YellingService provides operations on strings.
Click to show internal directories.
Click to hide internal directories.