HEAD and PATCH to create peers and list all items
This commit is contained in:
@@ -35,6 +35,16 @@ func (o One) Query() One {
|
||||
return One{Name: o.Name}
|
||||
}
|
||||
|
||||
func (o One) Peer() One {
|
||||
return One{
|
||||
Name: o.Name,
|
||||
Type: o.Type,
|
||||
Title: o.Title,
|
||||
Relationship: o.Relationship,
|
||||
Modified: o.Modified,
|
||||
}
|
||||
}
|
||||
|
||||
func (o One) Peers() []string {
|
||||
names := make([]string, len(o.Connections))
|
||||
i := 0
|
||||
|
||||
Reference in New Issue
Block a user