package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 12, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
¶
type Broker struct {
Address string `json:"address"`
Name string `json:"name" `
}
type Client struct {
Protocol string `json:"protocol"`
Pool Pool `json:"pool"`
Request ClientRequest `json:"request"`
}
type ClientRequest struct {
Retries json.Number `json:"retries"`
Timeout json.Number `json:"timeout"`
}
Init Stack's Config component
Any developer Don't use this Func anywhere. NewConfig works for Stack Framework only
type Logger struct {
Name string `json:"name"`
Level string `json:"level"`
}
type Selector struct {
Name string `json:"name"`
}
type Server struct {
Address string `json:"address"`
Advertise string `json:"advertise"`
ID string `json:"id"`
Metadata Metadata `json:"metadata"`
Name string `json:"name"`
Protocol string `json:"protocol"`
Version string `json:"version"`
}
type Stack struct {
Broker Broker `json:"broker"`
Client Client `json:"client"`
Profile string `json:"profile"`
Registry Registry `json:"registry"`
Runtime string `json:"runtime"`
Server Server `json:"server"`
Selector Selector `json:"selector"`
Transport Transport `json:"transport"`
Logger Logger `json:"logger"`
}
type Transport struct {
Name string `json:"name"`
Address string `json:"address"`
}
type Value struct {
Stack Stack `json:"stack"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.