Documentation
¶
Index ¶
- Variables
- type ExcludingOptions
- func (it ExcludingOptions) Clone() ExcludingOptions
- func (it *ExcludingOptions) IsEmpty() bool
- func (it *ExcludingOptions) IsIncludeAdditionalErrorWrap() bool
- func (it *ExcludingOptions) IsIncludeDescription() bool
- func (it *ExcludingOptions) IsIncludeErrorUrl() bool
- func (it *ExcludingOptions) IsIncludeExampleUrl() bool
- func (it *ExcludingOptions) IsIncludeExamples() bool
- func (it *ExcludingOptions) IsIncludeHintUrl() bool
- func (it *ExcludingOptions) IsIncludePayloads() bool
- func (it *ExcludingOptions) IsIncludeRootName() bool
- func (it *ExcludingOptions) IsIncludeSingleExample() bool
- func (it *ExcludingOptions) IsIncludeUrl() bool
- func (it *ExcludingOptions) IsZero() bool
- func (it *ExcludingOptions) SetPlainText() *ExcludingOptions
- func (it *ExcludingOptions) SetSecure() *ExcludingOptions
- func (it ExcludingOptions) ToNonPtr() ExcludingOptions
- func (it ExcludingOptions) ToPtr() *ExcludingOptions
- type Info
- func (it Info) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it Info) Clone() Info
- func (it Info) ClonePtr() *Info
- func (it Info) Deserialize(toPtr interface{}) (parsingErr error)
- func (it Info) ExamplesAsString() (compiledString string)
- func (it *Info) HasAnyItem() bool
- func (it *Info) HasAnyName() bool
- func (it *Info) HasChainingExample() bool
- func (it *Info) HasDescription() bool
- func (it *Info) HasErrorUrl() bool
- func (it *Info) HasExampleUrl() bool
- func (it *Info) HasExamples() bool
- func (it *Info) HasExcludeOptions() bool
- func (it *Info) HasHintUrl() bool
- func (it *Info) HasRootName() bool
- func (it *Info) HasUrl() bool
- func (it *Info) IsDefined() bool
- func (it *Info) IsEmpty() bool
- func (it *Info) IsEmptyDescription() bool
- func (it *Info) IsEmptyErrorUrl() bool
- func (it *Info) IsEmptyExampleUrl() bool
- func (it *Info) IsEmptyExamples() bool
- func (it *Info) IsEmptyExcludeOptions() bool
- func (it *Info) IsEmptyHintUrl() bool
- func (it *Info) IsEmptyName() bool
- func (it *Info) IsEmptySingleExample() bool
- func (it *Info) IsEmptyUrl() bool
- func (it *Info) IsIncludeAdditionalErrorWrap() bool
- func (it *Info) IsIncludeDescription() bool
- func (it *Info) IsIncludeErrorUrl() bool
- func (it *Info) IsIncludeExampleUrl() bool
- func (it *Info) IsIncludeExamples() bool
- func (it *Info) IsIncludeHintUrl() bool
- func (it Info) IsIncludePayloads() bool
- func (it *Info) IsIncludeRootName() bool
- func (it *Info) IsIncludeSingleExample() bool
- func (it *Info) IsIncludeUrl() bool
- func (it *Info) IsName(name string) bool
- func (it *Info) IsNull() bool
- func (it Info) IsPlainText() bool
- func (it Info) IsSecure() bool
- func (it Info) Json() corejson.Result
- func (it *Info) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Info) JsonPtr() *corejson.Result
- func (it Info) JsonString() string
- func (it Info) JsonStringMust() string
- func (it Info) LazyMap() map[string]string
- func (it Info) LazyMapPrettyJsonString() string
- func (it Info) Map() map[string]string
- func (it Info) Name() string
- func (it Info) Options() ExcludingOptions
- func (it Info) PrettyJsonString() string
- func (it Info) SafeChainingExample() string
- func (it Info) SafeDescription() string
- func (it Info) SafeErrorUrl() string
- func (it Info) SafeExampleUrl() string
- func (it Info) SafeHintUrl() string
- func (it Info) SafeName() string
- func (it Info) SafeUrl() string
- func (it Info) Serialize() ([]byte, error)
- func (it *Info) SetSecure() *Info
- func (it Info) String() string
- func (it Info) ToNonPtr() Info
- func (it Info) ToPtr() *Info
Constants ¶
This section is empty.
Variables ¶
View Source
var (
New = newCreator{}
)
Functions ¶
This section is empty.
Types ¶
type ExcludingOptions ¶
type ExcludingOptions struct { IsExcludeRootName, IsExcludeDescription, IsExcludeUrl, IsExcludeHintUrl, IsExcludeErrorUrl, IsExcludeAdditionalErrorWrap, IsExcludeExampleUrl, IsExcludeSingleExample, IsExcludeExamples, IsSecureText bool // indicates secure text, invert means log payload, plain text. it will not log payload }
func (ExcludingOptions) Clone ¶ added in v1.3.30
func (it ExcludingOptions) Clone() ExcludingOptions
func (*ExcludingOptions) IsEmpty ¶ added in v1.3.30
func (it *ExcludingOptions) IsEmpty() bool
func (*ExcludingOptions) IsIncludeAdditionalErrorWrap ¶
func (it *ExcludingOptions) IsIncludeAdditionalErrorWrap() bool
func (*ExcludingOptions) IsIncludeDescription ¶
func (it *ExcludingOptions) IsIncludeDescription() bool
func (*ExcludingOptions) IsIncludeErrorUrl ¶
func (it *ExcludingOptions) IsIncludeErrorUrl() bool
func (*ExcludingOptions) IsIncludeExampleUrl ¶
func (it *ExcludingOptions) IsIncludeExampleUrl() bool
func (*ExcludingOptions) IsIncludeExamples ¶
func (it *ExcludingOptions) IsIncludeExamples() bool
func (*ExcludingOptions) IsIncludeHintUrl ¶
func (it *ExcludingOptions) IsIncludeHintUrl() bool
func (*ExcludingOptions) IsIncludePayloads ¶
func (it *ExcludingOptions) IsIncludePayloads() bool
func (*ExcludingOptions) IsIncludeRootName ¶
func (it *ExcludingOptions) IsIncludeRootName() bool
func (*ExcludingOptions) IsIncludeSingleExample ¶ added in v1.3.30
func (it *ExcludingOptions) IsIncludeSingleExample() bool
func (*ExcludingOptions) IsIncludeUrl ¶
func (it *ExcludingOptions) IsIncludeUrl() bool
func (*ExcludingOptions) IsZero ¶ added in v1.3.30
func (it *ExcludingOptions) IsZero() bool
func (*ExcludingOptions) SetPlainText ¶ added in v1.3.30
func (it *ExcludingOptions) SetPlainText() *ExcludingOptions
func (*ExcludingOptions) SetSecure ¶ added in v1.3.30
func (it *ExcludingOptions) SetSecure() *ExcludingOptions
func (ExcludingOptions) ToNonPtr ¶ added in v1.3.30
func (it ExcludingOptions) ToNonPtr() ExcludingOptions
func (ExcludingOptions) ToPtr ¶ added in v1.3.30
func (it ExcludingOptions) ToPtr() *ExcludingOptions
type Info ¶
type Info struct { RootName string Description, Url string HintUrl, ErrorUrl string ExampleUrl string SingleExample string Examples []string // proves sample examples to call things correctly ExcludeOptions ExcludingOptions // contains filtered or unexported fields }
func (Info) AsJsonContractsBinder ¶
func (it Info) AsJsonContractsBinder() corejson.JsonContractsBinder
func (Info) Deserialize ¶ added in v1.3.30
func (Info) ExamplesAsString ¶ added in v1.3.30
func (*Info) HasAnyItem ¶
func (*Info) HasAnyName ¶
func (*Info) HasChainingExample ¶ added in v1.3.30
func (*Info) HasDescription ¶ added in v1.3.30
func (*Info) HasErrorUrl ¶ added in v1.3.30
func (*Info) HasExampleUrl ¶ added in v1.3.30
func (*Info) HasExamples ¶ added in v1.3.30
func (*Info) HasExcludeOptions ¶ added in v1.3.30
func (*Info) HasHintUrl ¶ added in v1.3.30
func (*Info) HasRootName ¶ added in v1.3.30
func (*Info) IsEmptyDescription ¶ added in v1.3.30
func (*Info) IsEmptyErrorUrl ¶ added in v1.3.30
func (*Info) IsEmptyExampleUrl ¶ added in v1.3.30
func (*Info) IsEmptyExamples ¶ added in v1.3.30
func (*Info) IsEmptyExcludeOptions ¶ added in v1.3.30
func (*Info) IsEmptyHintUrl ¶ added in v1.3.30
func (*Info) IsEmptyName ¶ added in v1.3.30
func (*Info) IsEmptySingleExample ¶ added in v1.3.30
func (*Info) IsEmptyUrl ¶ added in v1.3.30
func (*Info) IsIncludeAdditionalErrorWrap ¶
func (*Info) IsIncludeDescription ¶
func (*Info) IsIncludeErrorUrl ¶
func (*Info) IsIncludeExampleUrl ¶
func (*Info) IsIncludeExamples ¶
func (*Info) IsIncludeHintUrl ¶
func (Info) IsIncludePayloads ¶
func (*Info) IsIncludeRootName ¶
func (*Info) IsIncludeSingleExample ¶ added in v1.3.30
func (*Info) IsIncludeUrl ¶
func (Info) IsPlainText ¶
func (*Info) JsonParseSelfInject ¶
func (Info) JsonString ¶
func (Info) JsonStringMust ¶
func (Info) LazyMapPrettyJsonString ¶ added in v1.3.30
func (Info) Options ¶
func (it Info) Options() ExcludingOptions
func (Info) PrettyJsonString ¶ added in v1.3.30
func (Info) SafeChainingExample ¶ added in v1.3.30
func (Info) SafeDescription ¶ added in v1.3.30
func (Info) SafeErrorUrl ¶ added in v1.3.30
func (Info) SafeExampleUrl ¶ added in v1.3.30
func (Info) SafeHintUrl ¶ added in v1.3.30
Click to show internal directories.
Click to hide internal directories.