generated from VLADIMIR/template
17 lines
307 B
Go
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)
|
|
}
|