server

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerStub

type ServerStub struct {
	ListenAndServeCalled func() error
	ShutdownCalled       func(ctx context.Context) error
	CloseCalled          func() error
}

ServerStub -

func (*ServerStub) Close

func (s *ServerStub) Close() error

Close -

func (*ServerStub) ListenAndServe

func (s *ServerStub) ListenAndServe() error

ListenAndServe -

func (*ServerStub) Shutdown

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

Shutdown -

Jump to

Keyboard shortcuts

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