Documentation
¶
Index ¶
Constants ¶
View Source
const ( TestMethod = "mock.MockService.Test" GetValueMethod = "mock.MockService.GetValue" Stream = "mock.MockService.Stream" )
TestMethod and GetValueMethod are the methods supported by the mock package.
Variables ¶
This section is empty.
Functions ¶
func RegisterServices ¶
RegisterServices registers the given services in the global registry. It is safe to call multiple times, but services with the same package name must be registered in the same call or be identical to previous registrations. Returns an error if registration fails.
Types ¶
Click to show internal directories.
Click to hide internal directories.