pushstream

package
v0.0.0-...-3b8ab56 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPushChannel

func GetPushChannel(p *PushNotification, secret string) string

Types

type PushNotification

type PushNotification struct {
	Brdname   string `json:"brdname"`
	Filename  string `json:"filename"`
	Size      int64  `json:"size"`
	Signature string `json:"sig"`
	CacheKey  string `json:"cacheKey"`
}

func (*PushNotification) CheckSignature

func (p *PushNotification) CheckSignature(secret string) bool

func (*PushNotification) Sign

func (p *PushNotification) Sign(secret string)

Jump to

Keyboard shortcuts

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