cmd

package
v0.0.0-...-2a6e696 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	FlagConf          = "config_folder_path"
	FlagTransferIndex = "index"
)

Variables

View Source
var (
	OpenMeetingRPCUserCfgFileName    string
	OpenMeetingRPCMeetingCfgFileName string
	RedisConfigFileName              string
	MongodbConfigFileName            string
	DiscoveryConfigFilename          string
	OpenMeetingAPICfgFileName        string
	OpenMeetingAdminAPICfgFileName   string
	LogConfigFileName                string
	ShareFileName                    string
	LiveKitConfigFilename            string
)
View Source
var ConfigEnvPrefixMap map[string]string

Functions

func WithConfigMap

func WithConfigMap(configMap map[string]any) func(*CmdOpts)

func WithCronTaskLogName

func WithCronTaskLogName() func(*CmdOpts)

func WithLogName

func WithLogName(logName string) func(*CmdOpts)

Types

type AdminApiCmd

type AdminApiCmd struct {
	*RootCmd
	// contains filtered or unexported fields
}

func NewAdminApiCmd

func NewAdminApiCmd() *AdminApiCmd

func (*AdminApiCmd) Exec

func (a *AdminApiCmd) Exec() error

type ApiCmd

type ApiCmd struct {
	*RootCmd
	// contains filtered or unexported fields
}

func NewApiCmd

func NewApiCmd() *ApiCmd

func (*ApiCmd) Exec

func (a *ApiCmd) Exec() error

type CmdOpts

type CmdOpts struct {
	// contains filtered or unexported fields
}

type MeetingRpcCmd

type MeetingRpcCmd struct {
	*RootCmd
	// contains filtered or unexported fields
}

func NewMeetingRpcCmd

func NewMeetingRpcCmd() *MeetingRpcCmd

func (*MeetingRpcCmd) Exec

func (a *MeetingRpcCmd) Exec() error

type RootCmd

type RootCmd struct {
	Command cobra.Command
	// contains filtered or unexported fields
}

func NewRootCmd

func NewRootCmd(processName string, opts ...func(*CmdOpts)) *RootCmd

func (*RootCmd) Execute

func (r *RootCmd) Execute() error

func (*RootCmd) Index

func (r *RootCmd) Index() int

func (*RootCmd) Port

func (r *RootCmd) Port() int

type UserRpcCmd

type UserRpcCmd struct {
	*RootCmd
	// contains filtered or unexported fields
}

func NewUserRpcCmd

func NewUserRpcCmd() *UserRpcCmd

func (*UserRpcCmd) Exec

func (a *UserRpcCmd) Exec() error

Jump to

Keyboard shortcuts

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