Documentation ¶
Index ¶
- func CheckProfileDir(cCxt *cli.Context) (err error)
- func ConnectDaemon(cCtx *cli.Context) (*grpc.ClientConn, error)
- func NewAddressHandler(logger *logrus.Logger) cli.ActionFunc
- func NewCreateChatHandler(logger *logrus.Logger) cli.ActionFunc
- func NewGenerateHandler(logger *logrus.Logger) cli.ActionFunc
- func NewOfflineHandler(logger *logrus.Logger) cli.ActionFunc
- func NewOnlineHandler(logger *logrus.Logger) cli.ActionFunc
- func NewOpenChatHandler(logger *logrus.Logger) cli.ActionFunc
- func NewRmChatHandler(logger *logrus.Logger) cli.ActionFunc
- func WrapCliHandler(handler CliHandler, logger *logrus.Entry) cli.ActionFunc
- type CliDaemonHandler
- type CliHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProfileDir ¶
func CheckProfileDir(cCxt *cli.Context) (err error)
func ConnectDaemon ¶
func ConnectDaemon(cCtx *cli.Context) (*grpc.ClientConn, error)
func NewAddressHandler ¶
func NewCreateChatHandler ¶
func NewGenerateHandler ¶
func NewOfflineHandler ¶
func NewOnlineHandler ¶
func NewOpenChatHandler ¶
func NewRmChatHandler ¶
func WrapCliHandler ¶
func WrapCliHandler(handler CliHandler, logger *logrus.Entry) cli.ActionFunc
Types ¶
type CliDaemonHandler ¶
type CliDaemonHandler func(*cli.Context, *logrus.Entry, api.DaemonClient) error
type CliHandler ¶
func WrapCliDaemonHandler ¶
func WrapCliDaemonHandler(handler CliDaemonHandler) CliHandler
Click to show internal directories.
Click to hide internal directories.