Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeycloakBoolQuoted ¶
type KeycloakBoolQuoted bool
KeycloakBoolQuoted is a bool that is marshalled to a quoted string in JSON. This is needed for some boolean attributes in the Keycloak API that are treated as strings.
func (KeycloakBoolQuoted) MarshalJSON ¶
func (c KeycloakBoolQuoted) MarshalJSON() ([]byte, error)
func (*KeycloakBoolQuoted) UnmarshalJSON ¶
func (c *KeycloakBoolQuoted) UnmarshalJSON(in []byte) error
type KeycloakSliceHashDelimited ¶
type KeycloakSliceHashDelimited []string
KeycloakSliceHashDelimited is a slice of strings that is marshaled to a hash-delimited (##) string Example: ["foo", "bar"] -> "foo##bar"
func (KeycloakSliceHashDelimited) MarshalJSON ¶
func (s KeycloakSliceHashDelimited) MarshalJSON() ([]byte, error)
func (*KeycloakSliceHashDelimited) UnmarshalJSON ¶
func (s *KeycloakSliceHashDelimited) UnmarshalJSON(in []byte) error
type KeycloakSliceQuoted ¶
type KeycloakSliceQuoted []string
KeycloakSliceQuoted is a slice of strings that is marshaled to a quoted JSON string array
func (KeycloakSliceQuoted) MarshalJSON ¶
func (s KeycloakSliceQuoted) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.