Documentation
¶
Index ¶
- func GetStoredConfig(c echo.Context, proxeusUrl string) ([]byte, error)
- func Health(c echo.Context) error
- func NodeID(c echo.Context) (string, error)
- func Nop(_ echo.Context) error
- func Register(proxeusUrl, name, serviceUrl, jwtSecret, description string, retryInterval int) error
- func SetStoredConfig(c echo.Context, proxeusUrl string, conf interface{}) error
- type ExternalNode
- type ExternalNodeInstance
- type ExternalQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExternalNode ¶
type ExternalNode struct {
ID string `json:"id" storm:"id"`
Name string `json:"name"`
Detail string `json:"detail"`
Url string `json:"url"`
Secret string `json:"secret"`
}
func (*ExternalNode) HealthUrl ¶
func (e *ExternalNode) HealthUrl() string
type ExternalNodeInstance ¶
type ExternalQuery ¶
type ExternalQuery struct {
*ExternalNode
*ExternalNodeInstance
}
func (ExternalQuery) CloseUrl ¶
func (e ExternalQuery) CloseUrl() string
func (ExternalQuery) ConfigUrl ¶
func (e ExternalQuery) ConfigUrl() string
func (ExternalQuery) NextUrl ¶
func (e ExternalQuery) NextUrl() string
func (ExternalQuery) RemoveUrl ¶
func (e ExternalQuery) RemoveUrl() string
Click to show internal directories.
Click to hide internal directories.