mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-15 20:55:17 +00:00
18 lines
255 B
Go
18 lines
255 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/libp2p/go-libp2p"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
// TODO: add some libp2p.Transport options to this chain!
|
||
|
transports := libp2p.ChainOptions()
|
||
|
|
||
|
host, err := libp2p.New(transports)
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
|
||
|
host.Close()
|
||
|
}
|