Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpectedReturn ¶
type MockServer ¶
type MockServer struct { Server *thrift.TSimpleServer // contains filtered or unexported fields }
func MustNewMockServer ¶
func MustNewMockServer(host string) *MockServer
func (*MockServer) SetExpectedReturn ¶
func (s *MockServer) SetExpectedReturn(methodName string, expected ExpectedReturn)
func (*MockServer) Start ¶
func (s *MockServer) Start() (err error)
func (*MockServer) Stop ¶
func (s *MockServer) Stop()
Click to show internal directories.
Click to hide internal directories.