Versions in this module Expand all Collapse all v0 v0.1.2 Feb 3, 2021 Changes in this version type API + func (api *API) Log(m, n, c string) *errors.Error v0.1.1 Jan 22, 2021 Changes in this version type API + func (api *API) GinError(c *gin.Context, m string) v0.1.0 Jan 19, 2021 Changes in this version + const ErrCannotReachSlackServer + const ErrMissingWebHook + const ErrUnexpectedError + const ErrUnexpectedServerResponse + type API struct + Application string + WebHook string + func Init(config *API) (*API, *errors.Error) + func InitFromFile(configPath string) (*API, *errors.Error) + func (api *API) Error(m string) *errors.Error + func (api *API) Errorf(format string, a ...interface{}) *errors.Error + func (api *API) Fatal(m string) + func (api *API) Fatalf(format string, a ...interface{}) + func (api *API) GinFormatter(param gin.LogFormatterParams) string + func (api *API) Print(m string) string + func (api *API) Send(m string, b map[string]interface{}, at []map[string]interface{}) *errors.Error + func (api *API) UseGinFormatter(router *gin.Engine) + func (api *API) Verify() *errors.Error