Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaRequest ¶
type AreaRequest struct {
Width, Height int
}
type AreaResponse ¶
type AreaResponse *int
type PerimeterRequest ¶
type PerimeterRequest struct {
Width, Height int
}
type PerimeterResponse ¶
type PerimeterResponse *int
type RectTransport ¶
type RectTransport struct{}
func (*RectTransport) Area ¶
func (r *RectTransport) Area(p AreaRequest, ret AreaResponse) error
func (*RectTransport) Perimeter ¶
func (r *RectTransport) Perimeter(p PerimeterRequest, ret PerimeterResponse) error
Click to show internal directories.
Click to hide internal directories.