Versions in this module Expand all Collapse all v1 v1.7.8 Nov 20, 2023 Changes in this version + type Config struct + Auth string + AuthFile string + KeepAlive time.Duration + KeySeed string + Proxy string + Reverse bool + Socks5 bool + TLS TLSConfig + type Server struct + func NewServer(c *Config) (*Server, error) + func (s *Server) AddUser(user, pass string, addrs ...string) error + func (s *Server) Close() error + func (s *Server) DeleteUser(user string) + func (s *Server) GetFingerprint() string + func (s *Server) ResetUsers(users []*settings.User) + func (s *Server) Run(host, port string) error + func (s *Server) Start(host, port string) error + func (s *Server) StartContext(ctx context.Context, host, port string) error + func (s *Server) Wait() error + type TLSConfig struct + CA string + Cert string + Domains []string + Key string