generated from VLADIMIR/template
clear
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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("%s?name=%s&password=%s", host, url.PathEscape(name), password)
|
||||
}
|
||||
Reference in New Issue
Block a user