Documentation ¶
Index ¶
- func GinHttpTrace(notTrace ...string) gin.HandlerFunc
- func TypeSliceContains(enums []Type, sunEnums ...Type) bool
- func TypeSliceContainsAny(enums []Type, sunEnums ...Type) bool
- type CompletedConfig
- type Config
- type Type
- func (i Type) MarshalBinary() (data []byte, err error)
- func (i Type) MarshalJSON() ([]byte, error)
- func (i Type) MarshalText() ([]byte, error)
- func (i Type) MarshalYAML() (interface{}, error)
- func (i Type) Registered() bool
- func (i *Type) Scan(value interface{}) error
- func (i Type) String() string
- func (i *Type) UnmarshalBinary(data []byte) error
- func (i *Type) UnmarshalJSON(data []byte) error
- func (i *Type) UnmarshalText(text []byte) error
- func (i *Type) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (i Type) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GinHttpTrace ¶
func GinHttpTrace(notTrace ...string) gin.HandlerFunc
func TypeSliceContains ¶
TypeSliceContains reports whether sunEnums is within enums.
func TypeSliceContainsAny ¶
TypeSliceContainsAny reports whether any sunEnum is within enums.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct { Enabled bool ServiceName string Type Type Configuration jeagerConf.Configuration // contains filtered or unexported fields }
func (*Config) Complete ¶
func (s *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data and can be derived from other fields. If you're going to `ApplyOptions`, do that first. It's mutating the receiver.
type Type ¶
type Type int
func ParseTypeString ¶
ParseTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (Type) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface for Type
func (Type) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for Type
func (Type) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for Type
func (Type) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for Type
func (Type) Registered ¶
IsAType returns "true" if the value is listed in the enum definition. "false" otherwise
func (*Type) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for Type
func (*Type) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for Type
func (*Type) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for Type
func (*Type) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for Type