neko/internal/api/member/handler.go

26 lines
321 B
Go
Raw Normal View History

2020-10-30 18:16:21 +01:00
package member
import (
"github.com/go-chi/chi"
"demodesk/neko/internal/types"
)
type MemberHandler struct {
2020-11-01 16:54:06 +01:00
sessions types.SessionManager
2020-10-30 18:16:21 +01:00
}
func New(
sessions types.SessionManager,
) *MemberHandler {
// Init
return &MemberHandler{
2020-11-01 16:54:06 +01:00
sessions: sessions,
2020-10-30 18:16:21 +01:00
}
}
2020-11-14 18:16:25 +01:00
func (h *MemberHandler) Route(r chi.Router) {
2020-10-30 18:16:21 +01:00
}