persistent cfd quick tunnel
Signed-off-by: 0verflowme <priyanshukumarpu@gmail.com>
This commit is contained in:
		
							parent
							
								
									9f0f22c036
								
							
						
					
					
						commit
						557fec86b0
					
				| 
						 | 
				
			
			@ -261,7 +261,7 @@ func (sc *subcommandContext) runWithCredentials(credentials connection.Credentia
 | 
			
		|||
	return StartServer(
 | 
			
		||||
		sc.c,
 | 
			
		||||
		buildInfo,
 | 
			
		||||
		&connection.TunnelProperties{Credentials: credentials},
 | 
			
		||||
		&connection.TunnelProperties{Credentials: credentials, QuickTunnelUrl: credentials.Hostname},
 | 
			
		||||
		sc.log,
 | 
			
		||||
	)
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,6 +53,7 @@ type Credentials struct {
 | 
			
		|||
	AccountTag   string
 | 
			
		||||
	TunnelSecret []byte
 | 
			
		||||
	TunnelID     uuid.UUID
 | 
			
		||||
	Hostname     string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *Credentials) Auth() pogs.TunnelAuth {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue