types.go
changeset 211 12f0761e6442
parent 207 301d5b94be3f
child 219 98697242c4a0
--- a/types.go	Tue Mar 20 00:24:41 2018 +0100
+++ b/types.go	Tue Mar 20 13:11:26 2018 +0100
@@ -29,6 +29,9 @@
 // DomainName is a domain name string, as returned by the domain_blocks API
 type DomainName string
 
+// InstancePeer is a peer name, as returned by the instance/peers API
+type InstancePeer string
+
 // Account represents a Mastodon account entity
 type Account struct {
 	ID             int64     `json:"id,string"`