2026-03-02 01:43:46 +07:00

17 lines
307 B
Go

package link
import (
"fmt"
"net/url"
)
type service struct{}
func NewLinkService() ILinkService {
return &service{}
}
func (s *service) GetTeamClientLink(host string, name string, password string) string {
return fmt.Sprintf("http://%s?name=%s&password=%s", host, url.PathEscape(name), password)
}