mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 07:02:24 -06:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package format
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"bufio"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									"gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type RFC3164 struct{}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (f *RFC3164) GetParser(line []byte) LogParser {
							 | 
						||
| 
								 | 
							
									return &parserWrapper{rfc3164.NewParser(line)}
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (f *RFC3164) GetSplitFunc() bufio.SplitFunc {
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 |