Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddrPreference ¶ added in v0.3.0
type AddrPreference string
const ( AddrPreferenceFirst AddrPreference = "first" AddrPreferenceLast AddrPreference = "last" AddrPreferenceAll AddrPreference = "all" )
func (AddrPreference) MarshalText ¶ added in v0.3.0
func (p AddrPreference) MarshalText() (text []byte, err error)
func (AddrPreference) String ¶ added in v0.3.0
func (p AddrPreference) String() string
func (*AddrPreference) UnmarshalText ¶ added in v0.3.0
func (p *AddrPreference) UnmarshalText(text []byte) error
type ApiClient ¶
type ApiClient interface { GetIdentity() (plex.IdentityDTO, error) GetResources() (plex.ResourcesDTO, error) GetPreferences() (plex.PreferencesDTO, error) UpdateCustomConnections(customConnections string) error }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) SelectAddrs ¶ added in v0.3.0
func (*Handler) UpdateIPv6CustomAccessURLs ¶ added in v0.3.0
func (h *Handler) UpdateIPv6CustomAccessURLs(addrs []netip.Addr, capitalization IPv6URLCapitalization) error
type IPv6URLCapitalization ¶ added in v0.2.0
type IPv6URLCapitalization string
const ( IPv6URLCapitalizationLower IPv6URLCapitalization = "lower" IPv6URLCapitalizationUpper IPv6URLCapitalization = "upper" )
func (IPv6URLCapitalization) MarshalText ¶ added in v0.3.0
func (c IPv6URLCapitalization) MarshalText() (text []byte, err error)
func (IPv6URLCapitalization) String ¶ added in v0.3.0
func (c IPv6URLCapitalization) String() string
func (*IPv6URLCapitalization) UnmarshalText ¶ added in v0.3.0
func (c *IPv6URLCapitalization) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.