gotunnel

package module
v0.0.0-...-85160ea Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 13 Imported by: 0

README

gotunnel

A simple tunnel in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTunnel

func NewTunnel(cloudAddr string, Id string, stopCh <-chan struct{})

Types

type FrontServer

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

func NewFrontServer

func NewFrontServer(frontAddr string) (*FrontServer, error)

func (*FrontServer) Close

func (s *FrontServer) Close()

func (*FrontServer) DoRequest

func (s *FrontServer) DoRequest(nodeId, nodePort string, req *http.Request) (resp *http.Response, err error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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