Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Parameters ¶
type Parameters struct { Permission int32 Credentials []Credential }
func ParseParameters ¶
func ParseParameters(attributes, permission string) (Parameters, error)
type ServiceKey ¶
type ServiceKey struct { URL string `json:"url"` Certificate string `json:"certificate"` Key string `json:"key"` Encryption struct { ClientPrivateKey string `json:"client_private_key"` } `json:"encryption"` }
func ParseServiceKey ¶
func ParseServiceKey(jsonBytes []byte) (ServiceKey, error)
Click to show internal directories.
Click to hide internal directories.