webpush

package module
v0.0.0-...-1f39463 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2017 License: MIT Imports: 12 Imported by: 1

README

webpushencrypto

This is implement that encrypt web push payload.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encrypt

type Encrypt struct {
	Payload    []byte
	Salt       []byte
	PublickKey []byte
}

Encrypt is encryption info.

func Encryption

func Encryption(key, auth string, raw []byte, pad int) (*Encrypt, error)

Encryption return encrypted messsage for web push api.

Jump to

Keyboard shortcuts

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