Documentation
¶
Index ¶
Constants ¶
View Source
const ( Hostname = browserapi.Hostname Version = browserapi.Version Description = browserapi.Description )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Intermediate ¶
Intermediate extends and customizes the generic base connector.
func NewIntermediate ¶
func NewIntermediate(impl ToDo) *Intermediate
NewIntermediate creates a new instance of the intermediate.
type Mock ¶
type Mock struct {
*Intermediate
// contains filtered or unexported fields
}
Mock is a mockable version of the microservice, allowing functions, event sinks and web handlers to be mocked.
func (*Mock) MockBrowse ¶
MockBrowse sets up a mock handler for Browse.
func (*Mock) OnShutdown ¶
OnShutdown is called when the microservice is shut down.
type Service ¶
type Service struct {
*Intermediate // IMPORTANT: Do not remove
}
Service implements the browser.example microservice.
The browser microservice implements a simple web browser that utilizes the egress proxy.
func (*Service) OnShutdown ¶
OnShutdown is called when the microservice is shut down.
Click to show internal directories.
Click to hide internal directories.