mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-08-21 18:20:15 +02:00
53-run-commands-pre-up-and-post-down
- Ability to run a command pre up and post down - Ability to be a client in one mesh and a peer in the other - Added dev card to specify different sync rate, keepalive rate per mesh.
This commit is contained in:
@@ -16,6 +16,7 @@ type NewMeshArgs struct {
|
||||
// Endpoint is the routable alias of the machine. Can be an IP
|
||||
// or DNS entry
|
||||
Endpoint string
|
||||
Role string
|
||||
}
|
||||
|
||||
type JoinMeshArgs struct {
|
||||
@@ -25,12 +26,12 @@ type JoinMeshArgs struct {
|
||||
IpAdress string
|
||||
// Port is the WireGuard port to expose
|
||||
Port int
|
||||
// Endpoint is the routable address of this machine. If not provided
|
||||
// defaults to the default address
|
||||
// Endpoint to use to override the default
|
||||
Endpoint string
|
||||
// Client specifies whether we should join as a client of the peer
|
||||
// we are connecting to
|
||||
Client bool
|
||||
Role string
|
||||
}
|
||||
|
||||
type PutServiceArgs struct {
|
||||
|
Reference in New Issue
Block a user