Documentation
¶
Overview ¶
Package browser implements the browser.example microservice.
The browser microservice implements a simple web browser that utilizes the egress proxy.
Index ¶
Constants ¶
View Source
const Hostname = "browser.example"
Hostname is the default hostname of the microservice: browser.example.
View Source
const SourceCodeSHA256 = "de8fa5da69a64b3cc46e894e460e94dab424ee3d951ddc3ddb8c8c5198161739"
View Source
const Timestamp = "2024-07-15T19:41:28.764726Z"
View Source
const Version = 77
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
type Mock = intermediate.Mock
Mock is a mockable version of the browser.example microservice, allowing functions, event sinks and web handlers to be mocked.
type Service ¶
type Service struct {
*intermediate.Intermediate // DO NOT REMOVE
}
Service implements the browser.example microservice.
The browser microservice implements a simple web browser that utilizes the egress proxy.
func (*Service) Init ¶
Init enables a single-statement pattern for initializing the microservice.
svc.Init(func(svc Service) {
svc.SetGreeting("Hello")
})
func (*Service) OnShutdown ¶
OnShutdown is called when the microservice is shut down.
Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
browser
command
|
|
|
Package browserapi implements the public API of the browser.example microservice, including clients and data structures.
|
Package browserapi implements the public API of the browser.example microservice, including clients and data structures. |
|
Package intermediate serves as the foundation of the browser.example microservice.
|
Package intermediate serves as the foundation of the browser.example microservice. |
Click to show internal directories.
Click to hide internal directories.