aboutsummaryrefslogtreecommitdiffstats
path: root/server.go
diff options
context:
space:
mode:
authorLibravatarLibravatar Simon Ser <[email protected]> 2020-05-13 14:07:44 +0200
committerLibravatarLibravatar Simon Ser <[email protected]> 2020-05-13 14:07:44 +0200
commitb891a95fcf4a3d4b64100911dae49fb28904a7fd (patch)
treefe07b29d6f2443047b7f740c79d86b3c499cc9e9 /server.go
parent4cf5ad68afd80f27512c464843b0d917182ef0c2 (diff)
downloadalps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.tar.gz
alps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.tar.bz2
alps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.zip
Rename project to alps
Diffstat (limited to 'server.go')
-rw-r--r--server.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/server.go b/server.go
index bf67fce..250e932 100644
--- a/server.go
+++ b/server.go
@@ -1,4 +1,4 @@
-package koushin
+package alps
import (
"fmt"
@@ -11,9 +11,9 @@ import (
"github.com/labstack/echo/v4"
)
-const cookieName = "koushin_session"
+const cookieName = "alps_session"
-// Server holds all the koushin server state.
+// Server holds all the alps server state.
type Server struct {
e *echo.Echo
Sessions *SessionManager
@@ -237,7 +237,7 @@ func (s *Server) Logger() echo.Logger {
//
// Use a type assertion to get it from a echo.Context:
//
-// ctx := ectx.(*koushin.Context)
+// ctx := ectx.(*alps.Context)
type Context struct {
echo.Context
Server *Server