apiservermocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IServer

type IServer struct {
	mock.Mock
}

IServer is an autogenerated mock type for the IServer type

func (*IServer) Close

func (_m *IServer) Close() error

Close provides a mock function with given fields:

func (*IServer) Serve

func (_m *IServer) Serve(l net.Listener) error

Serve provides a mock function with given fields: l

func (*IServer) ServeTLS

func (_m *IServer) ServeTLS(l net.Listener, certFile string, keyFile string) error

ServeTLS provides a mock function with given fields: l, certFile, keyFile

func (*IServer) Shutdown

func (_m *IServer) Shutdown(ctx context.Context) error

Shutdown provides a mock function with given fields: ctx

type Server

type Server struct {
	mock.Mock
}

Server is an autogenerated mock type for the Server type

func (*Server) Serve

Serve provides a mock function with given fields: ctx, o

Jump to

Keyboard shortcuts

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