ytproxy

package
v0.0.0-...-d357feb Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWatcher

func CreateWatcher(vid string) (<-chan string, error)

CreateWatcher is register channel

func OnLiveChatReplayResponse

func OnLiveChatReplayResponse(resp *http.Response, ctx *goproxy.ProxyCtx) *http.Response

OnLiveChatReplayResponse is proxy func.

func OnLiveChatResponse

func OnLiveChatResponse(resp *http.Response, ctx *goproxy.ProxyCtx) *http.Response

OnLiveChatResponse is proxy func.

func OpenYoutubeLiveChatProxy

func OpenYoutubeLiveChatProxy(port int) int

OpenYoutubeLiveChatProxy open youtube proxy.

func OpenYoutubeLiveChatReplayProxy

func OpenYoutubeLiveChatReplayProxy(port int) int

OpenYoutubeLiveChatReplayProxy open youtube proxy.

func TLSConfigFromCA

func TLSConfigFromCA(ca *tls.Certificate, host string) (*tls.Config, error)

func UnsetWatcher

func UnsetWatcher(vid string)

UnsetWatcher is unregister channel

Types

This section is empty.

Jump to

Keyboard shortcuts

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