Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClientOption ¶
type HTTPClientOption struct { jrpc.EmptyClientOption // contains filtered or unexported fields }
HTTPClientOption is implemented jtpc.ClientOption but do nothing
func WithHTTPClient ¶
func WithHTTPClient(hc *http.Client) *HTTPClientOption
WithHTTPClient is proof: https://play.golang.org/p/RCLHTp-qY80
func WithRoundTripper ¶
func WithRoundTripper(rt http.RoundTripper) *HTTPClientOption
WithRoundTripper option
type Repository ¶
Repository is
func (*Repository) ServeHTTP ¶
func (r *Repository) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.