snap: github.com/intelsdi-x/snap/core/ctypes Index | Files

package ctypes

import "github.com/intelsdi-x/snap/core/ctypes"

Index

Package Files

ctypes.go

func SupportedTypes Uses

func SupportedTypes() []string

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

type ConfigValue Uses

type ConfigValue interface {
    Type() string
}

type ConfigValueBool Uses

type ConfigValueBool struct {
    Value bool
}

func (ConfigValueBool) MarshalJSON Uses

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

func (ConfigValueBool) Type Uses

func (c ConfigValueBool) Type() string

type ConfigValueFloat Uses

type ConfigValueFloat struct {
    Value float64
}

func (ConfigValueFloat) MarshalJSON Uses

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

func (ConfigValueFloat) Type Uses

func (c ConfigValueFloat) Type() string

type ConfigValueInt Uses

type ConfigValueInt struct {
    Value int
}

func (ConfigValueInt) MarshalJSON Uses

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

func (ConfigValueInt) Type Uses

func (c ConfigValueInt) Type() string

type ConfigValueStr Uses

type ConfigValueStr struct {
    Value string
}

func (ConfigValueStr) MarshalJSON Uses

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

func (ConfigValueStr) Type Uses

func (c ConfigValueStr) Type() string

Package ctypes imports 1 packages (graph) and is imported by 188 packages. Updated 2016-07-21. Refresh now. Tools for package owners.