package
3.16.1+incompatible
Repository: https://github.com/psytale/go.git
Documentation: pkg.go.dev

# Functions

DecryptString decodes encrypted string using the cipherKey It accepts the following parameters: cipherKey: cipher key to use to decrypt.
DeleteSession deletes the session that stores the pubInstance it accepts context.Context http.ResponseWriter *http.Request secret Key.
EncryptString creates the base64 encoded encrypted string using the cipherKey.
GenUuid generates a unique UUID returns the unique UUID or error.
GetNonSubscribeTimeout gets the value of nonSubscribeTimeout.
GetSessionsOptionsObject sets common Path, Age and HttpOnly options for the sessions.
GetSubscribeTimeout gets the value of subscribeTimeout.
New initializes the Session and the Pubnub instance.
NewPubnub initializes pubnub struct with the user provided values.
ParseInterfaceData formats the data to string as per the type of the data.
ParseJSON parses the json data.
SetConnectTimeout sets the value of connectTimeout.
SetIV sets the value of valIV.
SetMaxRetries sets the value of maxRetries.
SetNonSubscribeTimeout sets the value of nonsubscribeTimeout.
SetOrigin sets the value of _origin.
SetResumeOnReconnect sets the value of resumeOnReconnect.
SetRetryInterval sets the value of retryInterval.
SetSessionKeys initializes the Pubnub instance using the new Pubnub key.
SetSubscribeTimeout sets the value of subscribeTimeout.
VersionInfo returns the version of the this code along with the build date.

# Variables

Store for storing a ref of CookieStore.

# Structs

Pubnub structure.
PubnubUnitTest structure used to expose some data for unit tests.