endpoint

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router represents a router

func NewRouter

func NewRouter(service *builder.Service) *Router

NewRouter creates a router

type Server

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

Server represents a server

func NewServer

func NewServer(port int, router *Router) *Server

NewServer creates a build server

func (*Server) Shutdown

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

Shutdown stops server

func (*Server) Start

func (s *Server) Start() error

Start starts a server

Jump to

Keyboard shortcuts

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