add gemlog
This commit is contained in:
parent
93cdcef885
commit
5c94a3820a
10 changed files with 145 additions and 30 deletions
15
internal/gemlog/handler.go
Normal file
15
internal/gemlog/handler.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package gemlog
|
||||
|
||||
import (
|
||||
gemini "github.com/kulak/gemini"
|
||||
)
|
||||
|
||||
// Handler interface for microblog functionality
|
||||
type Handler interface {
|
||||
HandleRequest(w gemini.ResponseWriter, req *gemini.Request)
|
||||
}
|
||||
|
||||
// NewHandler creates a new microblog handler
|
||||
func NewHandler() Handler {
|
||||
return NewGemlog()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue