Documentation ¶
Index ¶
- type Client
- func (c *Client) Connect()
- func (c *Client) Disconnect()
- func (c *Client) LDebug() *zerolog.Event
- func (c *Client) LDebugF(functionName string) *zerolog.Event
- func (c *Client) LError() *zerolog.Event
- func (c *Client) LErrorF(functionName string) *zerolog.Event
- func (c *Client) LEvent(eventType string, eventName string, beforeMsg func(event *zerolog.Event))
- func (c *Client) LEventCustom(eventType string, eventName string) *zerolog.Event
- func (c *Client) LEventF(eventType string, eventName string, functionName string) *zerolog.Event
- func (c *Client) LFatal() *zerolog.Event
- func (c *Client) LInfo() *zerolog.Event
- func (c *Client) LInfoF(functionName string) *zerolog.Event
- func (c *Client) LPanic() *zerolog.Event
- func (c *Client) LWarn() *zerolog.Event
- func (c *Client) LWarnF(functionName string) *zerolog.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // WebSocket Client which will be created on connect WSClient *wsClient.Client // Logger Logger *model.Logger // contains filtered or unexported fields }
func (*Client) Disconnect ¶
func (c *Client) Disconnect()
func (*Client) LDebugF ¶
LDebugF -> when you need specifically to indicate in what function the logging is happening
func (*Client) LErrorF ¶
LErrorF -> when you need specifically to indicate in what function the logging is happening
func (*Client) LEventCustom ¶
Click to show internal directories.
Click to hide internal directories.