Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JsonAttribute ¶
type JsonAttribute struct { Name string `json:"name"` Value interface{} `json:"value"` }
type JsonContext ¶
type JsonContext struct { Subject *JsonSubject `json:"subject"` ServiceName string `json:"serviceName"` Resource string `json:"resource"` Action string `json:"action"` Attributes []*JsonAttribute `json:"attributes"` }
type JsonPrincipal ¶
type JsonSubject ¶
type JsonSubject struct {
Principals []*JsonPrincipal `json:"principals,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.