mirror of
https://github.com/screego/server.git
synced 2026-11-02 12:01:43 +08:00
13 lines
150 B
Go
13 lines
150 B
Go
package ipdns
|
|
|
|
import "net"
|
|
|
|
type Static struct {
|
|
V4 net.IP
|
|
V6 net.IP
|
|
}
|
|
|
|
func (s *Static) Get() (net.IP, net.IP, error) {
|
|
return s.V4, s.V6, nil
|
|
}
|