gotype

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllTheme = []Theme{
	ThemeAuto,
	ThemeDark,
	ThemeLight,
}
View Source
var (
	DefaultSettings = Settings{Theme: ThemeAuto, ClusterMapAvatarSize: ClusterMapAvatarSizeAuto}
)

Functions

This section is empty.

Types

type ClusterMapAvatarSize

type ClusterMapAvatarSize string
const (
	ClusterMapAvatarSizeAuto   ClusterMapAvatarSize = "AUTO"
	ClusterMapAvatarSizeMedium ClusterMapAvatarSize = "MEDIUM"
	ClusterMapAvatarSizeLarge  ClusterMapAvatarSize = "LARGE"
)

func (ClusterMapAvatarSize) IsValid

func (e ClusterMapAvatarSize) IsValid() bool

func (ClusterMapAvatarSize) MarshalGQL

func (e ClusterMapAvatarSize) MarshalGQL(w io.Writer)

func (ClusterMapAvatarSize) String

func (e ClusterMapAvatarSize) String() string

func (*ClusterMapAvatarSize) UnmarshalGQL

func (e *ClusterMapAvatarSize) UnmarshalGQL(v interface{}) error

type Settings

type Settings struct {
	Theme                Theme                `json:"theme"`
	ClusterMapAvatarSize ClusterMapAvatarSize `json:"clusterMapAvatarSize"`
}

type Theme

type Theme string
const (
	ThemeAuto  Theme = "AUTO"
	ThemeDark  Theme = "DARK"
	ThemeLight Theme = "LIGHT"
)

func (Theme) IsValid

func (e Theme) IsValid() bool

func (Theme) MarshalGQL

func (e Theme) MarshalGQL(w io.Writer)

func (Theme) String

func (e Theme) String() string

func (*Theme) UnmarshalGQL

func (e *Theme) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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