Documentation
¶
Index ¶
- type Config
- type ConfigNestedStruct
- type ConfigStruct
- type Description
- type Float32
- type Float64
- type Int16
- type Int32
- type Int64
- type Int8
- type MapValues
- type Message
- type MessageDescription
- type MessageDescriptionOtherName
- type MessageDescriptionOtherType
- type OverrideConfig
- type TestArray
- type TestConfigF32
- type TestConfigF64
- type TestConfigI16
- type TestConfigI32
- type TestConfigI64
- type TestConfigI8
- type TestConfigNestedStruct
- type TestConfigStruct
- type TestConfigU16
- type TestConfigU32
- type TestConfigU64
- type TestConfigU8
- type TestInterface
- type TestMap
- type Uint16
- type Uint32
- type Uint64
- type Uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TestConfigI8
TestConfigI16
TestConfigI32
TestConfigI64
TestConfigU8
TestConfigU16
TestConfigU32
TestConfigU64
TestConfigF32
TestConfigF64
TestConfigStruct
TestConfigNestedStruct
TestMap
TestInterface
TestArray
}
Config will hold the testing configuration parameters
type ConfigNestedStruct ¶
ConfigNestedStruct will hold a nested struct for testing
type ConfigStruct ¶
type ConfigStruct struct {
Title string
Description
}
ConfigStruct will hold a struct for testing
type Message ¶
type Message struct {
Public bool
MessageDescription []MessageDescription
}
Message will hold some details
type MessageDescription ¶
type MessageDescription struct {
Text string
}
MessageDescription will hold the text
type MessageDescriptionOtherName ¶
type MessageDescriptionOtherName struct {
Value string
}
MessageDescriptionOtherName will hold the value
type MessageDescriptionOtherType ¶
type MessageDescriptionOtherType struct {
Text int
}
MessageDescriptionOtherType will hold the text as integer
type OverrideConfig ¶
type OverrideConfig struct {
OverridableConfigTomlValues []config.OverridableConfig
}
OverrideConfig holds an array of configs to be overridden
type TestConfigF32 ¶
type TestConfigF32 struct {
Float32
}
TestConfigF32 will hold a float32 value for testing
type TestConfigF64 ¶
type TestConfigF64 struct {
Float64
}
TestConfigF64 will hold a float64 value for testing
type TestConfigI16 ¶
type TestConfigI16 struct {
Int16
}
TestConfigI16 will hold an int16 value for testing
type TestConfigI32 ¶
type TestConfigI32 struct {
Int32
}
TestConfigI32 will hold an int32 value for testing
type TestConfigI64 ¶
type TestConfigI64 struct {
Int64
}
TestConfigI64 will hold an int64 value for testing
type TestConfigI8 ¶
type TestConfigI8 struct {
Int8 Int8
}
TestConfigI8 will hold an int8 value for testing
type TestConfigNestedStruct ¶
type TestConfigNestedStruct struct {
ConfigNestedStruct
}
TestConfigNestedStruct will hold a configuration with nested struct for testing
type TestConfigStruct ¶
type TestConfigStruct struct {
ConfigStruct
}
TestConfigStruct will hold a configuration struct for testing
type TestConfigU16 ¶
type TestConfigU16 struct {
Uint16
}
TestConfigU16 will hold an uint16 value for testing
type TestConfigU32 ¶
type TestConfigU32 struct {
Uint32
}
TestConfigU32 will hold an uint32 value for testing
type TestConfigU64 ¶
type TestConfigU64 struct {
Uint64
}
TestConfigU64 will hold an uint64 value for testing
type TestConfigU8 ¶
type TestConfigU8 struct {
Uint8
}
TestConfigU8 will hold an uint8 value for testing
type TestInterface ¶
type TestInterface struct {
Value interface{}
}
TestInterface will hold an interface for testing