jumpresolver

package
v0.0.0-...-bc8fae0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetJumpResolverHost

func SetJumpResolverHost(s string) func(*JumpResolver) error

SetJumpResolverHost sets the host of the JumpResolver client's SAM bridge

func SetJumpResolverPort

func SetJumpResolverPort(s string) func(*JumpResolver) error

SetJumpResolverPort sets the port of the JumpResolver client's SAM bridge

func SetJumpResolverPortInt

func SetJumpResolverPortInt(s int) func(*JumpResolver) error

SetJumpResolverPortInt sets the port of the JumpResolver client's SAM bridge

Types

type JumpResolver

type JumpResolver struct {
	// contains filtered or unexported fields
}

func NewJumpResolver

func NewJumpResolver(host, port string) (*JumpResolver, error)

func NewJumpResolverFromOptions

func NewJumpResolverFromOptions(opts ...func(*JumpResolver) error) (*JumpResolver, error)

func (*JumpResolver) CheckAddressHelper

func (j *JumpResolver) CheckAddressHelper(url *http.Request) (*http.Request, bool)

func (JumpResolver) Resolve

func (j JumpResolver) Resolve(ctx context.Context, name string) (context.Context, string, error)

type JumpResolverOption

type JumpResolverOption func(*JumpResolver) error

JumpResolverOption is a JumpResolver option

Jump to

Keyboard shortcuts

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