Documentation ¶
Overview ¶
Package httpclient contains notification.Service implementation over HTTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotification ¶
func NewNotification(httpClient *http.Client, scheme, host, path string) notification.Service
NewNotification creates a client that implements notification.Service remotely over HTTP. If a nil httpClient is provided, http.DefaultClient will be used. scheme and host can be empty strings to target local service. A trailing "/" is added to path if there isn't one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.