app

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppSecretSize is the length of an app secret, in bytes
	AppSecretSize = 64
	// AppPublicKeySize is the length of an app public key, in bytes
	AppPublicKeySize = 32
)

Variables

This section is empty.

Functions

func GetAppId

func GetAppId(appSecret []byte) []byte

GetAppId returns the app ID from the provided appSecret. appSecret should be precisely AppSecretSize bytes long.

Types

This section is empty.

Jump to

Keyboard shortcuts

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