types

package
v0.0.0-...-3f6b75b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 4 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL