Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterOption ¶
type RegisterOption func(*registerConfig)
RegisterOption is a single option for configuring a registerConfig
func WithRegisterUploadDir ¶
func WithRegisterUploadDir(val bool) RegisterOption
WithRegisterUploadDir creates an Option that sets upload a directory as part of the command
type RegisterOptions ¶
type RegisterOptions []RegisterOption
RegisterOptions is a configuration set defining a registerConfig
func RegisterOptionDefaults ¶
func RegisterOptionDefaults() RegisterOptions
RegisterOptionDefaults gets the default values for Register.
func (RegisterOptions) Extend ¶
func (opts RegisterOptions) Extend(other RegisterOptions) RegisterOptions
Extend creates a new RegisterOptions with the contents of other overriding the values set in this RegisterOptions.
func (RegisterOptions) UploadDir ¶
func (opts RegisterOptions) UploadDir() bool
UploadDir returns the last set value for UploadDir or the empty value if not set.
Click to show internal directories.
Click to hide internal directories.