Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is an autogenerated mock type for the Server type
func NewServer ¶
NewServer creates a new instance of Server. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Server) EXPECT ¶
func (_m *Server) EXPECT() *Server_Expecter
type Server_Expecter ¶
type Server_Expecter struct {
// contains filtered or unexported fields
}
func (*Server_Expecter) Start ¶
func (_e *Server_Expecter) Start() *Server_Start_Call
Start is a helper method to define mock.On call
func (*Server_Expecter) Stop ¶
func (_e *Server_Expecter) Stop() *Server_Stop_Call
Stop is a helper method to define mock.On call
type Server_Start_Call ¶
Server_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Server_Start_Call) Return ¶
func (_c *Server_Start_Call) Return(err error) *Server_Start_Call
func (*Server_Start_Call) Run ¶
func (_c *Server_Start_Call) Run(run func()) *Server_Start_Call
func (*Server_Start_Call) RunAndReturn ¶
func (_c *Server_Start_Call) RunAndReturn(run func() error) *Server_Start_Call
type Server_Stop_Call ¶
Server_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Server_Stop_Call) Return ¶
func (_c *Server_Stop_Call) Return(err error) *Server_Stop_Call
func (*Server_Stop_Call) Run ¶
func (_c *Server_Stop_Call) Run(run func()) *Server_Stop_Call
func (*Server_Stop_Call) RunAndReturn ¶
func (_c *Server_Stop_Call) RunAndReturn(run func() error) *Server_Stop_Call
Click to show internal directories.
Click to hide internal directories.