github.com/ck00004/CobaltStrikeParser-Go@v1.0.14/lib/http/cookiejar/dummy_publicsuffix_test.go (about) 1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package cookiejar_test 6 7 import "github.com/ck00004/CobaltStrikeParser-Go/lib/http/cookiejar" 8 9 type dummypsl struct { 10 List cookiejar.PublicSuffixList 11 } 12 13 func (dummypsl) PublicSuffix(domain string) string { 14 return domain 15 } 16 17 func (dummypsl) String() string { 18 return "dummy" 19 } 20 21 var publicsuffix = dummypsl{}