mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2024-12-14 02:21:30 +01:00
29 lines
625 B
Go
29 lines
625 B
Go
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
|
|
}
|