prcproxy

package
v0.0.0-...-ff2d820 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Types

type PrcProxy

type PrcProxy struct {
	Port             string
	BlockAllRequests bool
	BlockList        []string
	BlockStartTime   time.Time
	BlockEndTime     time.Time
}

func NewPrcProxy

func NewPrcProxy(port string, blockAllRequests bool, blockList []string, blockStartTime time.Time, blockEndTime time.Time) *PrcProxy

func (*PrcProxy) CreateRouter

func (p *PrcProxy) CreateRouter() *mux.Router

Jump to

Keyboard shortcuts

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