rest

package
v0.0.0-...-972b0a0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 21 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 {
	// contains filtered or unexported fields
}

func NewServerFromConfig

func NewServerFromConfig(cfg rest_config.Config) (*Server, error)

func (*Server) Close

func (s *Server) Close(ctx context.Context) error

func (*Server) GetHttp

func (s *Server) GetHttp() *http.Server

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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