Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessScopesJSON ¶
type AccessScopesJSON struct { AccessScopes []struct { Handle string `json:"handle"` } `json:"access_scopes"` }
func (AccessScopesJSON) String ¶
func (a AccessScopesJSON) String() string
type CategoryJSON ¶
type CategoryJSON struct { Description string `json:"description"` Scopes map[string]string `json:"scopes"` }
Category represents the structure of each category in the JSON
type OutputScopes ¶
func (OutputScopes) PrintScopes ¶
func (o OutputScopes) PrintScopes() string
type ScopeDataJSON ¶
type ScopeDataJSON struct {
Categories map[string]CategoryJSON `json:"categories"`
}
Data represents the overall JSON structure
type SecretInfo ¶ added in v3.80.5
type SecretInfo struct { StatusCode int ShopInfo ShopInfoJSON Scopes map[string]OutputScopes }
func AnalyzePermissions ¶
type ShopInfoJSON ¶
Click to show internal directories.
Click to hide internal directories.