Discover Packages
github.com/pubgo/lava
core
service
package
Version:
v0.2.10-36
Opens a new window with list of versions in this module.
Published: Apr 22, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Endpoint struct {
Name string `json:"name,omitempty"`
Request *Value `json:"request,omitempty"`
Response *Value `json:"response,omitempty"`
Metadata map[string ]string `json:"metadata,omitempty"`
}
type Node struct {
Id string `json:"id,omitempty"`
Version string `json:"version,omitempty"`
Address string `json:"address,omitempty"`
Port int `json:"port,omitempty"`
Metadata map[string ]string `json:"metadata,omitempty"`
}
type Service struct {
Name string `json:"name,omitempty"`
Metadata map[string ]string `json:"metadata,omitempty"`
Endpoints []string `json:"endpoints,omitempty"`
Nodes []*Node `json:"nodes,omitempty"`
}
type Value struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Values []*Value `json:"values,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.