options

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ComponentConfig *config.Config
	// 数据库接口
	Factory data.ShareDaoFactory

	Store *controller.DBService

	ConfigFile string
}

func NewOptions

func NewOptions() *Options

func (*Options) BindFlags

func (o *Options) BindFlags(cmd *cobra.Command)

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) InitConfig

func (o *Options) InitConfig() error

func (*Options) InitHttp

func (o *Options) InitHttp() error

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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