rest

package
v0.0.0-...-9edbc40 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// Port is the port that the REST server will listen on.
	Port         string
	BodyLimit    int
	ReadTimeout  int
	WriteTimeout int
}

type Rest

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

func NewRest

func NewRest(o *Options, serviceRegistry *registry.ServiceRegistry) *Rest

func (*Rest) GetRouter

func (r *Rest) GetRouter() *fiber.App

func (*Rest) Serve

func (r *Rest) Serve()

func (*Rest) Shutdown

func (r *Rest) Shutdown()

Directories

Path Synopsis
handler
v1

Jump to

Keyboard shortcuts

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