httpclient

package
v0.0.0-...-c858694 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 15 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