api

package
v0.0.0-...-483a452 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MettermostService

type MettermostService interface {
	SendAPI(ctx context.Context, text, channel string) error
	SendWebhook(ctx context.Context, text, channel string) error
}

type Router

type Router interface {
	Router() *gin.Engine
}

func New

func New(cfg *config.Config, logger *zerolog.Logger, server *http.Server, service MettermostService) Router

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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