Versions in this module Expand all Collapse all v1 v1.0.0 Feb 10, 2023 Changes in this version + type Client interface + Close func() error + ListenCommand func() error + func NewCli(config *ClientConfig) (Client, error) + type ClientConfig struct + Addr string + EnableRetry bool + RetryTimes int + type KhighClient struct + Signal chan os.Signal + func (client *KhighClient) Close() error + func (client *KhighClient) ListenCommand() error + type KhighServer struct + func (server *KhighServer) GetSignal() chan os.Signal + func (server *KhighServer) Listen() + func (server *KhighServer) Stop() + type Server interface + GetSignal func() chan os.Signal + Listen func() + Stop func() + func NewServer(config *ServerConfig) Server + type ServerConfig struct + DBPath string + Databases uint + Host string + Port uint