mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
238 B
13 lines
238 B
6 years ago
|
package internal
|
||
|
|
||
|
import (
|
||
|
"github.com/labstack/echo"
|
||
|
"github.com/thinkindev/im.dev/internal/session"
|
||
|
)
|
||
|
|
||
|
func apiHandler(e *echo.Echo) {
|
||
|
// sign-in apis
|
||
|
e.POST("/web/signIn", session.SignIn)
|
||
|
e.POST("/web/signOut", session.SignOut)
|
||
|
}
|