cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	/* CommonFlag */
	// VerbosityFlag defines the logrus configuration.
	VerbosityFlag = &cli.StringFlag{
		Name:  "verbosity",
		Usage: "Logging Level (trace, debug, info=default, warn, error, fatal, panic)",
		Value: "info",
	}

	/* RedisDB Flag */
	// RedisDBAddrFlag defines the address of the RedisDB.
	RedisDBAddrFlag = &cli.StringFlag{
		Name:  "redis-addr",
		Usage: "Connection 라우팅 데이터베이스 (Address of the RedisDB)",
	}

	/* Conn-Router Flag */
	// EnableConnRouterFlag defines the flag to enable the node as a connection router.
	EnableConnRouterFlag = &cli.BoolFlag{
		Name:  "enable-conn-router",
		Usage: "Connection-Router Node로 빌드 (Enable the node as a connection router)",
		Value: false,
	}

	/* gRPC Flag */
	// RPCAddrFlag defines the address of the gRPC server.
	RPCAddrFlag = &cli.StringFlag{
		Name:  "grpc-server-addr",
		Usage: "gRPC 서버 주소 (\"localhost:8080\")",
	}

	// EndPointFlag defines the address of the gRPC server for Client.
	EndPoint = &cli.StringFlag{
		Name:  "endpoint",
		Usage: "gRPC 서버 주소 (쉼표로 구분, 예: \"localhost:9001,localhost:9002,localhost:9003\")",
	}

	GrpcMaxCallRecvMsgSizeFlag = &cli.IntFlag{
		Name:  "grpc-max-msg-size",
		Usage: "gRPC 서버의 최대 수신 메시지 크기 (bytes)",
		Value: 1024 * 1024 * 1024,
	}

	/* Websocket Flag */
	// WebsocketPortFlag defines the address of the websocket server.
	WebsocketAddrFlag = &cli.StringFlag{
		Name:  "websocket-addr",
		Usage: "Websocket 서버 주소 (\"localhost:8080\")",
	}

	/* Kafka Flag */
	// KafkaBrokersFlag defines the address of the Kafka brokers.
	KafkaBrokersFlag = &cli.StringFlag{
		Name:  "kafka-brokers",
		Usage: "Kafka 브로커 주소 (쉼표로 구분, 예: \"localhost:9001,localhost:9002,localhost:9003\")",
	}

	// KafkaGroupIDFlag defines the Kafka Consumer Group ID.
	KafkaGroupIDFlag = &cli.StringFlag{
		Name:  "kafka-group-id",
		Usage: "Kafka Consumer Group ID",
	}
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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