Versions in this module Expand all Collapse all v1 v1.5.5 Jul 13, 2021 Changes in this version + type Client struct + Host *RedisHost + func NewClient(username string, hostname string, uri string, logger *zap.SugaredLogger) (*Client, error) + func (clnt *Client) Close() + func (clnt *Client) DownloadFile(remoteFilename string, localFilename string) error + func (clnt *Client) LoginInteractively() error + func (clnt *Client) Ping() + func (clnt *Client) Start() + func (clnt *Client) UploadFile(localFilename string, remoteFilename string) error + type RedisHost struct + Encryption *drshsec.EncryptionModule + Hostname string + Logger *zap.SugaredLogger + func NewChildRedisHost(hostname string, parent *RedisHost) (*RedisHost, error) + func NewRedisHost(hostname string, uri string, logger *zap.SugaredLogger) (*RedisHost, error) + func (host *RedisHost) Close() + func (host *RedisHost) IsListening(hostname string) bool + func (host *RedisHost) IsOpen() bool + func (host *RedisHost) SendPublicMessage(recipient string, msg drshproto.PublicMessage) + func (host *RedisHost) SendSessionMessage(recipient string, msg drshproto.SessionMessage) + func (host *RedisHost) Start() + type Server struct + Host *RedisHost + Sessions sync.Map + func NewServer(hostname string, uri string, logger *zap.SugaredLogger) (*Server, error) + func (serv *Server) Close() + func (serv *Server) NewSession(clientHostname string, keyPart []byte) (*Session, error) + func (serv *Server) Start() + type Session struct + Host *RedisHost + func (session *Session) Close() + func (session *Session) Start()