Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFlagSet ¶
func RunWithOptions ¶
func RunWithOptions(ctx context.Context, opts *RunOptions) error
Types ¶
type RunOptions ¶
type RunOptions struct {
OfflineDatabaseURI string
OfflineQueueMux map[string]offline.Queue
AuthenticatorURI string
EnableCORS bool
CORSAllowedOrigins []string
CORSAllowCredentials bool
Verbose bool
}
func DeriveRunOptionsFromFlagSet ¶
func DeriveRunOptionsFromFlagSet(fs *flag.FlagSet) (*RunOptions, error)
Click to show internal directories.
Click to hide internal directories.