diff options
author | 2020-05-13 14:07:44 +0200 | |
---|---|---|
committer | 2020-05-13 14:07:44 +0200 | |
commit | b891a95fcf4a3d4b64100911dae49fb28904a7fd (patch) | |
tree | fe07b29d6f2443047b7f740c79d86b3c499cc9e9 /server.go | |
parent | 4cf5ad68afd80f27512c464843b0d917182ef0c2 (diff) | |
download | alps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.tar.gz alps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.tar.bz2 alps-b891a95fcf4a3d4b64100911dae49fb28904a7fd.zip |
Rename project to alps
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |