proxy

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultBufferSize = 16 * 1024
)

Variables

This section is empty.

Functions

func AuthProxyURL

func AuthProxyURL(ctx *gin.Context, u, t string, headers map[string]string, token, roomId, movieId string) error

func GetM3u8Target

func GetM3u8Target(token string) (*m3u8TargetClaims, error)

func NewM3u8TargetToken

func NewM3u8TargetToken(targetUrl, roomId, movieId string, isM3u8File bool) (string, error)

func ProxyM3u8

func ProxyM3u8(ctx *gin.Context, u string, headers map[string]string, isM3u8File bool, token, roomId, movieId string) error

func ProxyURL

func ProxyURL(ctx *gin.Context, u string, headers map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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