Documentation
¶
Overview ¶
Package server provides a helper implementation to help handling multiple services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint struct {
Method string
Path string
Endpoint endpoint.Endpoint
RequestDecoder httptransport.DecodeRequestFunc
ResponseEncoder httptransport.EncodeResponseFunc
}
Endpoint presents an endpoint.
type Option ¶
type Option func(n *helperServer)
Option presents an option to enhance server.
func WithHTTPAddress ¶
WithHTTPAddress sets the address for HTTP service to listen on.
Click to show internal directories.
Click to hide internal directories.