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 DecodeComposeRequest ¶
func EncodeResponse ¶
func EncodeResponse(w http.ResponseWriter, response interface{}) error
func MakeComposeEndpoint ¶
func MakeComposeEndpoint(svc ComposeServiceI) endpoint.Endpoint
Types ¶
type ComposeService ¶
type ComposeService struct{}
func (ComposeService) Compose ¶
func (ComposeService) Compose(s string) error
type ComposeServiceI ¶
ComposeService provides operations on strings.
Click to show internal directories.
Click to hide internal directories.