Versions in this module Expand all Collapse all v0 v0.1.0 Jan 24, 2020 Changes in this version + type Server struct + func NewServer() *Server + func (s *Server) Close() + func (s *Server) NewSite() *Site + func (s *Server) VerifyEndpoint() string + type Site struct + PrivateKey string + PublicKey string + func (s *Site) GenerateToken(tokenData *TokenData) string + func (s *Site) NewResponseToken() string + func (s *Site) NewResponseTokenRemoteIP(remoteIP string) string + type TokenData struct + ExpirationDate time.Time + RemoteIP string + Used bool