diff --git a/config/config.yaml.example b/config.yaml.example similarity index 88% rename from config/config.yaml.example rename to config.yaml.example index 1ace2c7..fcd412f 100644 --- a/config/config.yaml.example +++ b/config.yaml.example @@ -12,4 +12,4 @@ smpp: address: "" user: "" password: "" - src_phone_num: "" \ No newline at end of file + src_phone_num: "" diff --git a/logs/Error.log b/logs/Error.log new file mode 100644 index 0000000..584cb1a --- /dev/null +++ b/logs/Error.log @@ -0,0 +1 @@ +time=2024-03-30T13:55:53.545+05:00 level=ERROR msg="Failed to connect:" !BADKEY=EOF diff --git a/logs/Info.log b/logs/Info.log new file mode 100644 index 0000000..005c1d0 --- /dev/null +++ b/logs/Info.log @@ -0,0 +1,2 @@ +time=2024-03-30T13:55:52.167+05:00 level=INFO msg="Server is up and running" +time=2024-03-30T13:55:53.545+05:00 level=INFO msg="Retrying in 5 seconds..." diff --git a/main b/main new file mode 100755 index 0000000..68a2dad Binary files /dev/null and b/main differ