hosts

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCPlugin

func NewGRPCPlugin(name string, addr string, opts ...plugin.Option) hosts.HostMapper

NewGRPCPlugin creates a HostMapper plugin based on gRPC.

func NewHTTPPlugin

func NewHTTPPlugin(name string, url string, opts ...plugin.Option) hosts.HostMapper

NewHTTPPlugin creates an HostMapper plugin based on HTTP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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