rest

package
v0.0.0-...-1a46f0a Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppName          string
	Version          string
	Host             string
	Port             int
	SwaggerEndpoints []*endpoint.EndPoint
	OnShutdown       func()
}

type Rest

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

func NewRest

func NewRest(cfg Config) *Rest

func (*Rest) GetFiber

func (s *Rest) GetFiber() *fiber.App

func (*Rest) Listen

func (s *Rest) Listen() error

func (*Rest) Stop

func (s *Rest) Stop()

Jump to

Keyboard shortcuts

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