casserve

package
v0.0.0-...-e9e1808 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: ISC Imports: 10 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 New

func New(cas api.CAS) *Server

func (*Server) Add

func (s *Server) Add(r runnable)

func (*Server) AddHTTPListener

func (s *Server) AddHTTPListener(listener net.Listener)

func (*Server) AddRecorder

func (s *Server) AddRecorder(reader io.Reader)

func (*Server) AddRecorderListener

func (s *Server) AddRecorderListener(listener net.Listener)

func (*Server) AddRecorderWithCancel

func (s *Server) AddRecorderWithCancel(reader io.Reader, cancelFunc func() error)

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) (err error)

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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