Documentation
¶
Index ¶
- type AliasOptions
- type ExportOptions
- type FetchOptions
- type ImportOptions
- type Link
- type LinkOptions
- type LinkTarget
- type LinkTargetType
- type MergeOptions
- type Option
- type Options
- func (o *Options) Context() context.Context
- func (o *Options) WithCacheDir(dir string) *Options
- func (o *Options) WithConfigFile(file string) *Options
- func (o *Options) WithContext(ctx context.Context) *Options
- func (o *Options) WithLogger(l *log.Logger) *Options
- func (o *Options) WithVerbosity(level int) *Options
- type PushOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasOptions ¶ added in v0.4.2
type ExportOptions ¶ added in v0.4.0
type FetchOptions ¶ added in v0.3.1
type ImportOptions ¶ added in v0.4.0
type Link ¶ added in v0.4.2
type Link struct { From LinkTarget To []LinkTarget }
type LinkOptions ¶ added in v0.4.2
type LinkTarget ¶ added in v0.4.2
type LinkTarget struct {
ID, Alias string
Type LinkTargetType
}
func (*LinkTarget) String ¶ added in v0.4.2
func (lt *LinkTarget) String() string
type LinkTargetType ¶ added in v0.4.2
type LinkTargetType uint8
const ( LinkTargetTypeNode LinkTargetType = iota LinkTargetTypeDocument )
func (LinkTargetType) String ¶ added in v0.4.2
func (lt LinkTargetType) String() string
type MergeOptions ¶ added in v0.4.0
type Option ¶
type Option func(*Options)
func WithCacheDir ¶
func WithConfigFile ¶
func WithContext ¶ added in v0.4.0
func WithLogger ¶
func WithVerbosity ¶ added in v0.4.0
type Options ¶
type Options struct { Logger *log.Logger CacheDir string ConfigFile string Verbosity int // contains filtered or unexported fields }
func (*Options) WithCacheDir ¶
func (*Options) WithConfigFile ¶
func (*Options) WithContext ¶ added in v0.4.0
func (*Options) WithVerbosity ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.