Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeProtected string = "PROTECTED" ScopePublic string = "PUBLIC" )
Variables ¶
This section is empty.
Functions ¶
func ExposeResourceInfo ¶
Create endpoint to expose resources and endpoint paths to be collected by user-vault.
Types ¶
type Endpoint ¶
type Endpoint struct {
Type string `json:"type" desc:"access scope type: PROTECTED/PUBLIC"`
Url string `json:"url" desc:"endpoint url"`
Group string `json:"group" desc:"app name"`
Desc string `json:"desc" desc:"description of the endpoint"`
ResCode string `json:"resCode" desc:"resource code"`
Method string `json:"method" desc:"http method"`
}
type ResourceInfoRes ¶
Click to show internal directories.
Click to hide internal directories.