about summary refs log tree commit diff stats
path: root/cpp/.traces/get_address_indirect
blob: e8c3c8507315733611ede21bd0a6763519c02487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
generated by cgit-pink 1.4.1-2-gfad0 (git 2.36.2.497.gbbea4dcf42) at 2025-01-15 22:54:50 +0000
 


 class="p">}

// Instance refers to this specific instance of getwtxt
type Instance struct {
	Name  string `json:"Instance.SiteName"`
	URL   string `json:"Instance.URL"`
	Owner string `json:"Instance.OwnerName"`
	Mail  string `json:"Instance.Email"`
	Desc  string `json:"Instance.Description"`
}

// RemoteRegistries holds a list of remote registries to
// periodically scrape for new users. The remote registries
// must have been added via POST like a user.
type RemoteRegistries struct {
	Mu   sync.RWMutex
	List []string
}

// ipCtxKey is the Context value key for user IP addresses
type ipCtxKey int

const ctxKey ipCtxKey = iota