ctypes

package
v0.12.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportedTypes

func SupportedTypes() []string

Returns a slice of string keywords for the types supported by ConfigValue.

Types

type ConfigValue

type ConfigValue interface {
	Type() string
}

type ConfigValueBool

type ConfigValueBool struct {
	Value bool
}

func (ConfigValueBool) MarshalJSON

func (c ConfigValueBool) MarshalJSON() ([]byte, error)

func (ConfigValueBool) Type

func (c ConfigValueBool) Type() string

type ConfigValueFloat

type ConfigValueFloat struct {
	Value float64
}

func (ConfigValueFloat) MarshalJSON

func (c ConfigValueFloat) MarshalJSON() ([]byte, error)

func (ConfigValueFloat) Type

func (c ConfigValueFloat) Type() string

type ConfigValueInt

type ConfigValueInt struct {
	Value int
}

func (ConfigValueInt) MarshalJSON

func (c ConfigValueInt) MarshalJSON() ([]byte, error)

func (ConfigValueInt) Type

func (c ConfigValueInt) Type() string

type ConfigValueStr

type ConfigValueStr struct {
	Value string
}

func (ConfigValueStr) MarshalJSON

func (c ConfigValueStr) MarshalJSON() ([]byte, error)

func (ConfigValueStr) Type

func (c ConfigValueStr) Type() string

Jump to

Keyboard shortcuts

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