Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServerRecord ¶
Types ¶
type AreaCmd ¶
type AreaCmd struct{}
func (*AreaCmd) Execute ¶
func (r *AreaCmd) Execute(x context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
type BookCmd ¶
type BookCmd struct {
List bool
Start string
Duration int
StationID string
Channel string
Prefix string
}
func (*BookCmd) Execute ¶
func (b *BookCmd) Execute(x context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
type Config ¶
type Config struct {
General struct {
API_URL string `yaml:"api_url"`
} `yaml:"general"`
DB struct {
Dir string `yaml:"db_dir"`
Name string `yaml:"db_name"`
BookTableName string `yaml:"book_table"`
} `yaml:"db"`
}
func GetDefaultConfig ¶
func GetDefaultConfig() Config
type RecordCmd ¶
type RecordCmd struct {
// contains filtered or unexported fields
}
func (*RecordCmd) Execute ¶
func (r *RecordCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
Click to show internal directories.
Click to hide internal directories.