rest

package
v0.0.0-...-e379705 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Router goswag.Echo
	// contains filtered or unexported fields
}

func NewRestServer

func NewRestServer(services *service.Services, authToken auth.AuthToken, cfg *config.Config) *Server

func StartRestServer

func StartRestServer(ctx context.Context, cfg *config.Config, services *service.Services, log logger.Logger, authToken auth.AuthToken) *Server

func (*Server) Start

func (r *Server) Start(port string) error

Directories

Path Synopsis
routes

Jump to

Keyboard shortcuts

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