rest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rest

type Rest interface {
	Handler() *chi.Mux
	StartRest(context.Context, *sync.WaitGroup)
}

func NewRest

func NewRest() Rest

type RestService

type RestService struct {
	*http.Server
}

func (*RestService) Handler

func (rs *RestService) Handler() *chi.Mux

func (*RestService) StartRest

func (rs *RestService) StartRest(ctx context.Context, waitGroup *sync.WaitGroup)

Jump to

Keyboard shortcuts

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