update
							parent
							
								
									37eafbe7d8
								
							
						
					
					
						commit
						12084a659c
					
				| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
package gterm
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"net/http"
 | 
			
		||||
 | 
			
		||||
	"kumoly.io/lib/klog"
 | 
			
		||||
	"kumoly.io/lib/ksrv"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var log = klog.Sub("gterm")
 | 
			
		||||
 | 
			
		||||
type Config struct {
 | 
			
		||||
	AllowIP string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type GTerm struct {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func init() {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func New() *GTerm {
 | 
			
		||||
	g := >erm{}
 | 
			
		||||
	ksrv.New()
 | 
			
		||||
	return g
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (g *GTerm) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (g *GTerm) BaseEndpoint(w http.ResponseWriter, r *http.Request)
 | 
			
		||||
		Loading…
	
		Reference in New Issue