forked from an/flokati
		
	testing webhooks
This commit is contained in:
		
							parent
							
								
									8e9e8e162c
								
							
						
					
					
						commit
						caa291e0ea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -24,7 +24,7 @@ func init() {
 | 
			
		|||
func webhookRun() {
 | 
			
		||||
	xlog.Info("webhook listener started")
 | 
			
		||||
	http.HandleFunc("/webhook", webhookHandleHTTP)
 | 
			
		||||
	xlog.Fatal("%v", http.ListenAndServe(":"+*webhookPort, nil))
 | 
			
		||||
	xlog.Fatal("%v", http.ListenAndServe(":8080", nil))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func webhookHandleMessage(m *Message) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue