Documentation ¶
Index ¶
- Constants
- Variables
- func GetRandomString(strings []string) string
- func HandlerIncomingMessage(msg model.IteungMessage) (resp atmessage.Response)
- func HandlerQRLogin(msg model.IteungMessage, WAKeyword string) (resp atmessage.Response)
- func Liveloc(w http.ResponseWriter, r *http.Request)
- func PostBalasan(w http.ResponseWriter, r *http.Request)
- func ReverseGeocode(latitude, longitude float64) (string, error)
- type Header
- type Reply
Constants ¶
View Source
const WAKeyword = "wh4t5auth0"
Variables ¶
View Source
var WAAPIToken = os.Getenv("TOKEN")
View Source
var WebhookSecret = os.Getenv("SECRET")
Functions ¶
func GetRandomString ¶
func HandlerIncomingMessage ¶
func HandlerIncomingMessage(msg model.IteungMessage) (resp atmessage.Response)
func HandlerQRLogin ¶
func HandlerQRLogin(msg model.IteungMessage, WAKeyword string) (resp atmessage.Response)
func PostBalasan ¶
func PostBalasan(w http.ResponseWriter, r *http.Request)
func ReverseGeocode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.