Help us shape the future of Go! Take the 2026 Go Developer Survey

setup

package
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackConfig

type SlackConfig struct {
	WebHook     string `json:"webhook"`
	Application string `json:"application"`
}

func (*SlackConfig) Error

func (sc *SlackConfig) Error(m string) (*http.Response, error)

func (*SlackConfig) Fatal

func (sc *SlackConfig) Fatal(m string)

func (*SlackConfig) GinFormatter added in v1.0.12

func (sc *SlackConfig) GinFormatter(param gin.LogFormatterParams) string

func (*SlackConfig) LoadFrom added in v1.0.11

func (sc *SlackConfig) LoadFrom(filePath string) error

func (*SlackConfig) Print

func (sc *SlackConfig) Print(m string) string

func (*SlackConfig) UseGinFormatter added in v1.0.12

func (sc *SlackConfig) UseGinFormatter(router *gin.Engine)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL