Skip to content

Latest commit

 

History

History
executable file
·
51 lines (38 loc) · 1.05 KB

tinc_web_majordomo.md

File metadata and controls

executable file
·
51 lines (38 loc) · 1.05 KB

TincWebMajordomo

Operations for joining public network

  • TincWebMajordomo.Join - Join public network if code matched. Will generate error if node subnet not matched

TincWebMajordomo.Join

Join public network if code matched. Will generate error if node subnet not matched

  • Method: TincWebMajordomo.Join

  • Returns: *Sharing

  • Arguments:

Position Name Type
0 network string
1 self *Node
curl -H 'Content-Type: application/json' --data-binary @- "http://127.0.0.1:8686/api/" <<EOF
{
    "jsonrpc" : "2.0",
    "id" : 1,
    "method" : "TincWebMajordomo.Join",
    "params" : []
}
EOF

Node

Json Type Comment
name string
subnet string
port uint16
ip string
address []Address
publicKey string
version int

Sharing

Json Type Comment
name string
subnet string
node []*network.Node