1
0
forked from extern/smegmesh
smegmesh/pkg/gossip/gossip_requester.go

29 lines
625 B
Go
Raw Normal View History

2023-10-05 18:48:54 +02:00
package gossip
import (
"github.com/tim-beatham/wgmesh/pkg/ctrlserver"
"github.com/tim-beatham/wgmesh/pkg/ip"
"github.com/tim-beatham/wgmesh/pkg/ipc"
)
type GossipRequester struct {
Server *ctrlserver.MeshCtrlServer
ipAlloactor ip.IPAllocator
}
func (r *GossipRequester) CreateMesh(name string, reply *string) error {
return nil
}
func (r *GossipRequester) ListMeshes(name string, reply string) error {
return nil
}
func (r *GossipRequester) JoinMesh(args ipc.JoinMeshArgs, reply *string) error {
return nil
}
func (r *GossipRequester) GetMesh(meshId string, reply *ipc.GetMeshReply) error {
return nil
}