Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeUploadFileEndpoint ¶
func MakeWirenetHandlers ¶
func MakeWirenetHandlers(wire wirenet.Wire, endpoints Set)
Types ¶
type Service ¶
type Service interface { UpdateBalance(ctx context.Context, a int, b int) (sum int, err error) UploadFile(ctx context.Context, filepath string, size int64, name string) error }
func MakeWirenetClient ¶
func MakeWirenetClient(wire wirenet.Wire) Service
func NewService ¶
func NewService() Service
type Set ¶
func NewEndpointSet ¶
type UpdateBalanceRequest ¶
type UpdateBalanceResponse ¶
type UploadFileRequest ¶
type UploadFileResponse ¶
type UploadFileResponse struct {
Err error
}
Click to show internal directories.
Click to hide internal directories.