refactor: structuring apps into polyrepo

This commit is contained in:
talksik
2026-01-13 10:53:58 -08:00
parent 564a166f09
commit 5fd763b028
5111 changed files with 4 additions and 121 deletions
-40
View File
@@ -1,40 +0,0 @@
package http
import "net/http"
type AuthHandler interface {
SendCode(w http.ResponseWriter, r *http.Request)
Login(w http.ResponseWriter, r *http.Request)
Logout(w http.ResponseWriter, r *http.Request)
VerifySession(w http.ResponseWriter, r *http.Request)
}
type SendCodeResponse struct {
}
type Session struct {
HumanId string `json:"id"`
TokenId string `json:"token_id"`
}
type authHandlerImpl struct{}
func (a authHandlerImpl) SendCode(w http.ResponseWriter, r *http.Request) {
//TODO implement me
panic("implement me")
}
func (a authHandlerImpl) Login(w http.ResponseWriter, r *http.Request) {
//TODO implement me
panic("implement me")
}
func (a authHandlerImpl) Logout(w http.ResponseWriter, r *http.Request) {
//TODO implement me
panic("implement me")
}
func (a authHandlerImpl) VerifySession(w http.ResponseWriter, r *http.Request) {
//TODO implement me
panic("implement me")
}
-5
View File
@@ -1,5 +0,0 @@
package auth
type Service interface {
VerifyCode(email string, code string) error
}
-1
View File
@@ -1 +0,0 @@
package llink