mattermost-api-40000.0.1: Client API for Mattermost chat system

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Types.Base

Description

These are the fundamental types that are used for building everything else. Specifically, these types are used by the Network.Mattermost.Types.Internal, but are not subject to the cautions that as associated with the latter.

Synopsis

Documentation

type Port = Int Source #

type Logger = LogEvent -> IO () Source #

A Logger is any function which responds to log events:

data LogEvent Source #

If there is a Logger in the ConnectionData struct, it will be sporadically called with values of type LogEvent.