config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConverterConfig

type ConverterConfig struct {
	EmojiURLFormat                 string `json:"emojiURLFormat,omitempty"`
	ActivityIncludeIntegrationName bool   `json:"activityIncludeIntegrationName,omitempty"`
	UseAttachments                 bool   `json:"useAttachments,omitempty"`
	UseMarkdownQuote               bool   `json:"useMarkdownQuote,omitempty"`
	UseShortFields                 bool   `json:"useShortFields,omitempty"`
	UseFieldExtraSpacing           bool   `json:"useFieldExtraSpacing,omitempty"`
	ConvertTripleBacktick          bool   `json:"convertTripleBacktick,omitempty"`
}

func DefaultConverterConfig

func DefaultConverterConfig() *ConverterConfig

func NewConverterConfigMSI added in v0.2.0

func NewConverterConfigMSI(cfg map[string]interface{}) (*ConverterConfig, error)

func (*ConverterConfig) Clone added in v0.2.0

func (cfg *ConverterConfig) Clone() *ConverterConfig

Jump to

Keyboard shortcuts

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