# Functions
AbortWithLog will abort the gin Context request with error, and print the error message before.
ArrStrToPtr is an helper function used get the ptr of an array of string.
BoolToPtr is an helper function used get the ptr of a bool.
GetPublicIDString is an helper function used to generate an UUID based on a string.
GetUUIDFromID is an helper function used to generate an UUIDbased on the ObjectID.
InitEnvironment initializes variables from environment.
InitPusher will init the pusher configuration based on the env variables.
Int64ToPtr is an helper function used get the ptr of an int64.
IntToPtr is an helper function used get the ptr of an int.
NewPusher create a new pusher Object.
StrIsEmpty is an helper function used check if a string is nil or empty.
StrToPtr is an helper function used get the ptr of a string.
TimeIsEmpty is an helper function used check if a time is nil or empty.
TimeToPtr is an helper function used get the ptr of a time.
Uint64ToPtr is an helper function used get the ptr of an uint64.
# Variables
ClaimsChannel represent the list of channels for the claims.
EthContractAddress : address of our smartcontract.
EthNodeURI : Uri of the ethereum node.
EthNodeURIHttp : Uri of the ethereum node in http mode.
EthPrivateKey : PrivateKey used for this demonstration.
IdentitiesChannel represent the list of channels for the identities.
MongodbDBName : name of the DB.
MongodbURI : URI of the MongoDB.
PusherID represent the pusher ID.
PusherKey represent the pusher key.
PusherSecret represent the pusher secret.