httpclient

package
v0.0.0-...-e98364e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL