Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrWASession whatsapp.Session
CurrWASession is an entity that holds application current whatsapp session
View Source
var WAconfig *entities.WASession
WAconfig is an application current whatsapp configuration from config.whatsapp.yaml file
Functions ¶
func ConfigInit ¶
func ConfigInit(config *entities.Configuration) error
ConfigInit is a function to initialize app configuration
func GenerateQR ¶
GenerateQR is a function to generate whatsapp session QR
func UnmarshalJSON ¶
func UnmarshalJSON(jsonString string, exResult *ExistanceResult) error
UnmarshalJSON unmarshal the object from JSON formated string
Types ¶
type ExistanceResult ¶
ExistanceResult is a struct to store the result of existance method
Click to show internal directories.
Click to hide internal directories.