{"id":32764301,"url":"https://github.com/syndicatefoundation/ginwrapper","last_synced_at":"2026-05-16T00:34:59.704Z","repository":{"id":309376383,"uuid":"1036051907","full_name":"SyNdicateFoundation/GinWrapper","owner":"SyNdicateFoundation","description":"A Library designed to simplify gin library","archived":false,"fork":false,"pushed_at":"2025-11-02T20:04:51.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-02T21:18:40.303Z","etag":null,"topics":["gin","ginwrapper","golang","network","networking","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyNdicateFoundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-11T13:40:54.000Z","updated_at":"2025-11-02T20:04:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"89bd47f1-7e28-47ea-b56a-e512726b8e89","html_url":"https://github.com/SyNdicateFoundation/GinWrapper","commit_stats":null,"previous_names":["syndicatefoundation/syndicatebackend","syndicatefoundation/ginwrapper"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SyNdicateFoundation/GinWrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyNdicateFoundation%2FGinWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyNdicateFoundation%2FGinWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyNdicateFoundation%2FGinWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyNdicateFoundation%2FGinWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyNdicateFoundation","download_url":"https://codeload.github.com/SyNdicateFoundation/GinWrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyNdicateFoundation%2FGinWrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282437946,"owners_count":26669091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-03T02:00:05.676Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gin","ginwrapper","golang","network","networking","wrapper"],"created_at":"2025-11-04T05:01:17.670Z","updated_at":"2025-11-04T05:02:16.157Z","avatar_url":"https://github.com/SyNdicateFoundation.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GinWrapper\n\n# Usage\nTo use GinWrapper you need to have GOLang installed on your system. You can download and install GOLang from the official website: [https://go.dev/](https://go.dev/).\n\nOnce you have GOLang installed, you can now use GinWrapper in your project:\n\n```go\nimport (\n\t\"github.com/SyNdicateFoundation/GinWrapper/\" \n)\n```\n\nthen in your main.go you should define your HttpsServer:\n\n```go\nvar (\n\tHttpsServer httpscore.HttpsServer\n)\n```\n\nNow, you need to setup logger and configuration as well as responses:\n\n```go\nfunc main() {\n\tlogger.SetupLogger(\"Your Project Name\")\n\n  // Adjust as needed\n\tconfiguration.DefaultConfig =\n\t\tconfiguration.Holder{\n\t\t\tDebug: false,\n\t\t\tHTTPSServer: configuration.HTTPSServer{\n\t\t\t\tEnabled:      true,\n\t\t\t\tAddress:      \"0.0.0.0\",\n\t\t\t\tPort:         2009,\n\t\t\t\tAPIUserAgent: \"LiteGuard Client 1.0/b (Software)\",\n\t\t\t\tTlsConfiguration: configuration.HttpsTlsConfiguration{\n\t\t\t\t\tEnable:   false,\n\t\t\t\t\tCertFile: \"cert.pem\",\n\t\t\t\t\tKeyFile:  \"key.pem\",\n\t\t\t\t},\n\t\t\t},\n\t\t}\n  // setup configuration\n\tconfiguration.SetupConfig(\"config.toml\")\n\n  // add responses \n\thttpscore.Responses[\"index\"] = httpscore.Response{\n\t\tFn: func(c *gin.Context) {\n\t\t\tc.HTML(http.StatusOK, \"index.html\", nil)\n\t\t},\n\t\tMethod:    \"GET\",\n\t\tAddresses: []string{\"/\", \"/index.html\"},\n\t}\n\thttpscore.Responses[\"projects\"] = httpscore.Response{\n\t\tFn: func(c *gin.Context) {\n\t\t\tc.HTML(http.StatusOK, \"projects.html\", nil)\n\t\t},\n\t\tMethod:    \"GET\",\n\t\tAddresses: []string{\"/projects\", \"/projects.html\"},\n\t}\n\thttpscore.Responses[\"projects\"] = httpscore.Response{\n\t\tFn: func(c *gin.Context) {\n\t\t\tc.HTML(http.StatusOK, \"members.html\", nil)\n\t\t},\n\t\tMethod:    \"GET\",\n\t\tAddresses: []string{\"/members\", \"/members.html\"},\n\t}\n\thttpscore.Responses[\"technologies\"] = httpscore.Response{\n\t\tFn: func(c *gin.Context) {\n\t\t\tc.HTML(http.StatusOK, \"technologies.html\", nil)\n\t\t},\n\t\tMethod:    \"GET\",\n\t\tAddresses: []string{\"/technologies\", \"/technologies.html\"},\n\t}\n\thttpscore.Responses[\"colleagues\"] = httpscore.Response{\n\t\tFn: func(c *gin.Context) {\n\t\t\tc.HTML(http.StatusOK, \"colleagues.html\", nil)\n\t\t},\n\t\tMethod:    \"GET\",\n\t\tAddresses: []string{\"/colleagues\", \"/colleagues.html\"},\n\t}\n\n  // first argument is templateDir and second one is assetsDir\n\tHttpsServer.ListenAndServe(\"assets/templates/*\", \"/assets\")\n}\n```\n\n## Contribution Guidelines 🤝\n\nFeel free to contribute to the development of our project. we will notice it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyndicatefoundation%2Fginwrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyndicatefoundation%2Fginwrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyndicatefoundation%2Fginwrapper/lists"}