utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSessionID

func GenerateSessionID() string

GenerateSessionID Generate a new random Hash

func HashMAC

func HashMAC(message, key []byte) string

HashMAC Calculates the MAC signing with the given key and returns the hexadecimal encoded Result

func IsChannelNameValid

func IsChannelNameValid(channelName string) bool

IsChannelNameValid Verify if the channel name is valid

func IsPresenceChannel

func IsPresenceChannel(channelName string) bool

func IsPrivateChannel

func IsPrivateChannel(channelName string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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