Documentation
¶
Index ¶
Constants ¶
View Source
const (
StrMaxSize = 1024
)
Service constants
Variables ¶
View Source
var ( ErrMaxSize = errors.New("maximum size of 1024 bytes exceeded") ErrStrValue = errors.New("maximum size of 1024 bytes exceeded") )
Service errors
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Concat a and b Concat(req StringRequest, ret *string) error // a,b pkg string value Diff(req StringRequest, ret *string) error }
type ServiceMiddleware ¶
ServiceMiddleware define service middleware
type StringRequest ¶
type StringService ¶
type StringService struct { }
ArithmeticService implement Service interface
func (StringService) Concat ¶
func (s StringService) Concat(req StringRequest, ret *string) error
func (StringService) Diff ¶
func (s StringService) Diff(req StringRequest, ret *string) error
Click to show internal directories.
Click to hide internal directories.