spanType

package
v0.0.0-...-0829b1e Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Class

type Class struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

Class .

func AsCompleteConstants

func AsCompleteConstants() []Class

AsCompleteConstants presents constants as their complete object form

type Enum

type Enum int

Enum .

const (
	Span Enum = iota + 1
	DataStore
	MessageProducer
	External
)

func (Enum) Code

func (c Enum) Code() string

Code .

func (Enum) MarshalJSON

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

MarshalJSON presents value to the client

func (Enum) Name

func (c Enum) Name() string

Name .

func (*Enum) UnmarshalJSON

func (c *Enum) UnmarshalJSON(val []byte) error

UnmarshalJSON parses value from the client

func (*Enum) UnmarshalName

func (c *Enum) UnmarshalName(val string) error

func (*Enum) UnmarshalParam

func (c *Enum) UnmarshalParam(src string) error

UnmarshalParam parses value from the client (handled by gorm)

Jump to

Keyboard shortcuts

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