dialer

package
v0.0.0-...-121e250 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Overview

Package dialer holds the dialer implementation for the water transport.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDialer

func NewDialer(ctx context.Context, params DialerParameters) (water.Dialer, error)

NewDialer creates a new water dialer with the given parameters.

Types

type DialerParameters

type DialerParameters struct {
	// An optional golog.Logger used for keeping compatibility with http-proxy
	// and flashlight logger. If not defined the dialer will use the default
	// water logger.
	Logger    golog.Logger
	Transport string // Specifies transport being used.
	WASM      []byte // The WASM module to use.
}

DialerParameters are used when creating a new dialer.

Jump to

Keyboard shortcuts

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