http

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpTransportAsClient

func NewHttpTransportAsClient(url string, retryTimeout time.Duration) (*clientHttpTransport, error)

NewHttpTransportAsClient creates a transport that can be used to send http requests and a websocket connection for receiving notifications Initialization will block for 10 retries until the server endpoint is ready

func NewHttpTransportAsServer

func NewHttpTransportAsServer(port string, cert *tls.Certificate) (*serverHttpTransport, error)

NewHttpTransportAsServer starts an http server

Types

This section is empty.

Jump to

Keyboard shortcuts

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