app

package
v0.0.0-...-aca001b Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcHandler

func CalcHandler(w http.ResponseWriter, r *http.Request)

func LoggingMiddleware

func LoggingMiddleware(DefaLogger *slog.Logger) mux.MiddlewareFunc

Мидлвaря няшка

Types

type App

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

func New

func New() *App

func (*App) Run

func (a *App) Run() error

func (*App) RunServer

func (a *App) RunServer() error

type Config

type Config struct {
	Path string
}

func ConfigWhitEnv

func ConfigWhitEnv() *Config

type JsonReq

type JsonReq struct {
	Expression string `json:"expression"`
}

Jump to

Keyboard shortcuts

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