Documentation ¶
Index ¶
Constants ¶
View Source
const (
EnvSlackWebhook = "GHNOTIFY_SLACK_WEBHOOK"
)
Variables ¶
View Source
var ( ErrInvalidWebhookRequest = goerr.New("invalid webhook request") ErrInvalidConfig = goerr.New("invalid config") )
Functions ¶
This section is empty.
Types ¶
type Context ¶
func NewContext ¶
func NewContext(options ...ContextOption) *Context
type ContextOption ¶
type ContextOption func(c *Context)
func WithCtx ¶
func WithCtx(ctx context.Context) ContextOption
func WithLogger ¶
func WithLogger(logger *slog.Logger) ContextOption
Click to show internal directories.
Click to hide internal directories.