administration

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

func NewModule

func NewModule(conf ModuleConfiguration) *Module

func (Module) BindRouter

func (m Module) BindRouter(router chi.Router) http.Handler

type ModuleConfiguration

type ModuleConfiguration struct {
	PsqlConn             *sql.DB
	TgBotAPI             *tgbotapi.BotAPI
	BasicAuthCredentials struct {
		User string
		Pass string
	}
}

Directories

Path Synopsis
app
port
rest
Package rest provides primitives to interact with the openapi HTTP API.
Package rest provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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