summaryrefslogtreecommitdiffstats
path: root/golang/cmd/fatcatd/serve.go
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-10 19:57:16 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-10 19:57:16 -0700
commit63dc69bbcdbee264383b919f9a8a3b1a83358be7 (patch)
tree1b74955ed3b9938f2e7d2b690ab59c9f33c91c99 /golang/cmd/fatcatd/serve.go
parent71c6b0a4418511a6c0046742512066fc27e51b21 (diff)
downloadfatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.tar.gz
fatcat-63dc69bbcdbee264383b919f9a8a3b1a83358be7.zip
a bunch more skeleton
Diffstat (limited to 'golang/cmd/fatcatd/serve.go')
-rw-r--r--golang/cmd/fatcatd/serve.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/golang/cmd/fatcatd/serve.go b/golang/cmd/fatcatd/serve.go
index 638fe6ce..6f44e009 100644
--- a/golang/cmd/fatcatd/serve.go
+++ b/golang/cmd/fatcatd/serve.go
@@ -57,6 +57,35 @@ func main_serve() {
// register all the many handlers here
api.GetCreatorIDHandler = handlers.NewGetCreatorIDHandler(db);
api.PostCreatorHandler = handlers.NewPostCreatorHandler(db);
+ api.GetCreatorLookupHandler = handlers.NewGetCreatorLookupHandler(db);
+/*
+ api.GetCreatorLookupHandler = operations.GetCreatorLookupHandlerFunc(func(params operations.GetCreatorLookupParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetCreatorLookup has not yet been implemented")
+ })
+*/
+
+ api.GetEditgroupIDHandler = handlers.NewGetEditgroupIDHandler(db);
+ api.GetEditorUsernameHandler = handlers.NewGetEditorUsernameHandler(db);
+ api.GetEditorUsernameChangelogHandler = handlers.NewGetEditorUsernameChangelogHandler(db);
+ api.PostEditgroupHandler = handlers.NewPostEditgroupHandler(db);
+ api.PostEditgroupIDAcceptHandler = handlers.NewPostEditgroupIDAcceptHandler(db);
+/*
+ api.GetEditgroupIDHandler = operations.GetEditgroupIDHandlerFunc(func(params operations.GetEditgroupIDParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditgroupID has not yet been implemented")
+ })
+ api.GetEditorUsernameHandler = operations.GetEditorUsernameHandlerFunc(func(params operations.GetEditorUsernameParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditorUsername has not yet been implemented")
+ })
+ api.GetEditorUsernameChangelogHandler = operations.GetEditorUsernameChangelogHandlerFunc(func(params operations.GetEditorUsernameChangelogParams) middleware.Responder {
+ return middleware.NotImplemented("operation .GetEditorUsernameChangelog has not yet been implemented")
+ })
+ api.PostEditgroupHandler = operations.PostEditgroupHandlerFunc(func(params operations.PostEditgroupParams) middleware.Responder {
+ return middleware.NotImplemented("operation .PostEditgroup has not yet been implemented")
+ })
+ api.PostEditgroupIDAcceptHandler = operations.PostEditgroupIDAcceptHandlerFunc(func(params operations.PostEditgroupIDAcceptParams) middleware.Responder {
+ return middleware.NotImplemented("operation .PostEditgroupIDAccept has not yet been implemented")
+ })
+*/
middle := interpose.New()