Skip to content

jom-io/gorig-om

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gorig-OM

English | 中文

Gorig-OM

Gorig-OM is the operations management panel for the Gorig project, providing an intuitive web interface to manage and monitor your Gorig services.

Features

  • Intuitive web management interface
  • Service status monitoring
  • Configuration management
  • Real-time log viewing
  • Built-in stats module (API latency, error signatures, goroutine trends, memory big-object/leak tracking)
  • Secure access control

Quick Start

1. Installation

First, install the package:

go get github.com/jom-io/gorig-om@latest

Then, add the following configuration to your Gorig project:

om:
  key: "your-access-key-here"  # Set access password

2. Enable OM

You can enable the operations management panel in one of two ways:

  1. Import the package in your main.go:
import _ "github.com/jom-io/gorig-om/src"
  1. Or call the setup function in your code:
import "github.com/jom-io/gorig-om/src"

func main() {
    om.Setup()
    // ... your other code
}

3. Access Panel

After configuration, you can access the operations panel at:

https://jom-io.github.io/gorig-om

Use the om.key you set in the configuration for access authentication.

Security Notes

  • Please ensure you set a sufficiently complex access password
  • It is recommended to use HTTPS in production environments
  • Regularly change the access password to improve security

Related Projects

  • Gorig - Main project repository

Credits

The admin panel UI is built using Slash Admin.

License

This project is licensed under the MIT License - see the LICENSE file for details


Gorig-OM

Gorig-OM 是 Gorig 项目的运维管理面板,提供了一个直观的 Web 界面来管理和监控您的 Gorig 服务。

功能特点

  • 直观的 Web 管理界面
  • 服务状态监控
  • 配置管理
  • 实时日志查看
  • 内置统计模块(API 延迟、错误签名、协程趋势、内存大对象/泄漏跟踪)
  • 安全访问控制

快速开始

1. 安装

首先,安装包:

go get github.com/jom-io/gorig-om@latest

然后,在您的 Gorig 项目中添加以下配置:

om:
  key: "your-access-key-here"  # 设置访问密码

2. 启用 OM

您可以通过以下两种方式之一启用运维管理面板:

  1. 在 main.go 中导入包:
import _ "github.com/jom-io/gorig-om/src"
  1. 或在代码中调用设置函数:
import "github.com/jom-io/gorig-om/src"

func main() {
    om.Setup()
    // ... 其他代码
}

3. 访问面板

配置完成后,您可以通过以下地址访问运维面板:

https://jom-io.github.io/gorig-om

使用您在配置中设置的 om.key 进行访问认证。

安全说明

  • 请确保设置一个足够复杂的访问密码
  • 建议在生产环境中使用 HTTPS
  • 定期更换访问密码以提高安全性

相关项目

  • Gorig - 主项目仓库

致谢

管理面板 UI 基于 Slash Admin 实现。

许可证

本项目采用 MIT 许可证 - 详见 LICENSE 文件

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages