v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-18 08:40:35 -07:00
2024-02-08 22:42:54 +08:00

23 lines
297 B
Go

package core
type Server struct {
host string
apiKey string
}
func (s *Server) SetHost(host string) {
s.host = host
}
func (s *Server) GetHost() string {
return s.host
}
func (s *Server) SetAPIKey(key string) {
s.apiKey = key
}
func (s *Server) GetAPIKey() string {
return s.apiKey
}