yellingService

package
v0.0.0-...-2168c39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2015 License: AGPL-3.0 Imports: 7 Imported by: 1

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 DecodeYellRequest(r *http.Request) (interface{}, error)

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

type YellingServiceI interface {
	Yell(string) error
}

YellingService provides operations on strings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL