rest

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes added in v3.0.1

func Routes(cfg *config.Config, useCase *usecase.UseCase) map[string][]map[string]interface{}

Routes registers REST routes

Types

type Contract

type Contract interface {
	Serve()
}

func NewHttpServer added in v3.0.1

func NewHttpServer(cfg *config.Config, client *http.Server, useCase *usecase.UseCase) Contract

NewHttpServer creates new http server

Directories

Path Synopsis
handler

Jump to

Keyboard shortcuts

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