Skip to content

Commit

Permalink
update liter-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Oct 24, 2023
1 parent dcff43e commit bca48d2
Show file tree
Hide file tree
Showing 7 changed files with 400 additions and 196 deletions.
10 changes: 10 additions & 0 deletions README_zh.MD
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@

[![Discord](https://img.shields.io/discord/1158169192114163722?style=for-the-badge&logo=discord&label=SUPPORT)](https://discord.gg/fK5DKwRhPj)
[![Build Status](https://img.shields.io/github/actions/workflow/status/kmcsr/go-liter/build.yml?style=for-the-badge&logo=github&label=Build%20Status)](https://github.com/kmcsr/go-liter/actions)

- [English](./README.MD)
- **中文**

# Go Liter

一个可扩展的 Minecraft 代理

如果您对开发插件感兴趣, 请见 [script/README_zh.MD](./script/README_zh.MD)

## 功能

- 支持正向代理和反向代理
- 可用 **JavaScript** 扩展
- 使用 [Golang](https://go.dev/) 编写, 快速并且易于理解

## 应用程序

- [liter-proxy](./cmds/liter-proxy/README.MD): 一个支持 socks5 的 Minecraft 代理
- [liter-server](./cmds/liter-server/README.MD): 内置一个简易管理面板的 Minecraft 反向代理
3 changes: 3 additions & 0 deletions cmds/liter-proxy/globals.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/sirupsen/logrus"
"github.com/kmcsr/go-logger"
logrusl "github.com/kmcsr/go-logger/logrus"
"github.com/kmcsr/go-liter"
)

var loger = initLogger()
Expand Down Expand Up @@ -99,3 +100,5 @@ func readConfig()(cfg Config){
}
return
}

var AuthClient = liter.DefaultAuthClient
Loading

0 comments on commit bca48d2

Please sign in to comment.