Skip to content

Commit

Permalink
init v2
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Jun 20, 2021
1 parent 4ef5358 commit e0c7f85
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/notify/index.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package handler

import (
"fmt"
"net/http"
)

func Handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "hello telepush")
}
14 changes: 14 additions & 0 deletions index/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TelePush</title>
</head>
<body>
<h1>:)</h1>
I am TelePush!
</body>
</html>
5 changes: 5 additions & 0 deletions internal/bot/bot.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package bot

func NewBot() {

}

0 comments on commit e0c7f85

Please sign in to comment.