conf

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollection

func NewCollection() interface{}

Types

type AConf

type AConf struct {
	A1 int64 `json:"A1"`
	A2 int64 `json:"A2"`
	A3 int64 `json:"A3"`
}

easyjson:json

func (AConf) MarshalEasyJSON

func (v AConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AConf) MarshalJSON

func (v AConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AConf) UnmarshalEasyJSON

func (v *AConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AConf) UnmarshalJSON

func (v *AConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BConf

type BConf struct {
	B1 int64 `json:"B1"`
	B2 int64 `json:"B2"`
	B3 int64 `json:"B3"`
}

easyjson:json

func (BConf) MarshalEasyJSON

func (v BConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BConf) MarshalJSON

func (v BConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BConf) UnmarshalEasyJSON

func (v *BConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BConf) UnmarshalJSON

func (v *BConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type CConf

type CConf struct {
	C1 int64 `json:"C1"`
	C2 int64 `json:"C2"`
	C3 int64 `json:"C3"`
}

easyjson:json

func (CConf) MarshalEasyJSON

func (v CConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CConf) MarshalJSON

func (v CConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CConf) UnmarshalEasyJSON

func (v *CConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CConf) UnmarshalJSON

func (v *CConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Collection

type Collection struct {
	Extension `json:"-"`

	AConf AConf
	BConf BConf
	CConf CConf
	DConf DConf
	EConf EConf
	FConf FConf
	GConf GConf
	HConf HConf
	IConf IConf
	JConf JConf
	KConf KConf
	// contains filtered or unexported fields
}

func (*Collection) BindRefs

func (this *Collection) BindRefs() error

func (*Collection) CompatibleVersions

func (this *Collection) CompatibleVersions() []string

func (*Collection) Filename2Conf

func (this *Collection) Filename2Conf() map[string]interface{}

func (*Collection) FixPointers

func (this *Collection) FixPointers()

func (*Collection) RevRefGraph

func (this *Collection) RevRefGraph() map[string][]string

type DConf

type DConf struct {
	D1 int64 `json:"D1"`
	D2 int64 `json:"D2"`
	D3 int64 `json:"D3"`
}

easyjson:json

func (DConf) MarshalEasyJSON

func (v DConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DConf) MarshalJSON

func (v DConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DConf) UnmarshalEasyJSON

func (v *DConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DConf) UnmarshalJSON

func (v *DConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EConf

type EConf struct {
	E1 int64            `json:"E1"`
	E2 int64            `json:"E2"`
	E3 int64            `json:"E3"`
	E5 []int64          `json:"E5"`
	E6 []int64          `json:"E6"`
	E7 map[string]int64 `json:"E7"`
	E8 map[string]int64 `json:"E8"`
}

easyjson:json

func (EConf) MarshalEasyJSON

func (v EConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EConf) MarshalJSON

func (v EConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EConf) UnmarshalEasyJSON

func (v *EConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EConf) UnmarshalJSON

func (v *EConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Extension

type Extension struct {
}

type FConf

type FConf struct {
	F1 int64 `json:"F1"`
	F2 int64 `json:"F2"`
	F3 int64 `json:"F3"`
	F5 int64 `json:"F5"`
}

easyjson:json

func (FConf) MarshalEasyJSON

func (v FConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (FConf) MarshalJSON

func (v FConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*FConf) UnmarshalEasyJSON

func (v *FConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*FConf) UnmarshalJSON

func (v *FConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GConf

type GConf map[string]int64

easyjson:json

func (GConf) MarshalEasyJSON

func (v GConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GConf) MarshalJSON

func (v GConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GConf) UnmarshalEasyJSON

func (v *GConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GConf) UnmarshalJSON

func (v *GConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type HConf

type HConf map[string][]int64

easyjson:json

func (HConf) MarshalEasyJSON

func (v HConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (HConf) MarshalJSON

func (v HConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*HConf) UnmarshalEasyJSON

func (v *HConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*HConf) UnmarshalJSON

func (v *HConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type IConf

type IConf map[string]map[string]int64

easyjson:json

func (IConf) MarshalEasyJSON

func (v IConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (IConf) MarshalJSON

func (v IConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*IConf) UnmarshalEasyJSON

func (v *IConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*IConf) UnmarshalJSON

func (v *IConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type JConf

type JConf map[string]string

easyjson:json

func (JConf) MarshalEasyJSON

func (v JConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (JConf) MarshalJSON

func (v JConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*JConf) UnmarshalEasyJSON

func (v *JConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*JConf) UnmarshalJSON

func (v *JConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type KConf

type KConf map[string]*KConfItem

easyjson:json

func (KConf) MarshalEasyJSON

func (v KConf) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (KConf) MarshalJSON

func (v KConf) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*KConf) UnmarshalEasyJSON

func (v *KConf) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*KConf) UnmarshalJSON

func (v *KConf) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type KConfItem

type KConfItem struct {
	Kxa int64 `json:"Kxa"`
	Kxb int64 `json:"Kxb"`
}

KConfItem represents /map[]

func (KConfItem) MarshalEasyJSON

func (v KConfItem) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (KConfItem) MarshalJSON

func (v KConfItem) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*KConfItem) UnmarshalEasyJSON

func (v *KConfItem) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*KConfItem) UnmarshalJSON

func (v *KConfItem) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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