config

package module
v0.0.0-...-fb7705a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

wg-tool

快速搭建中心化 Wireguard VPN网络

Start

  • make pb 编译 proto 文件

Documentation

Overview

Package config 提供基本的配置能力

Index

Constants

This section is empty.

Variables

View Source
var (
	// Config 全局的配置文件
	Config = newConfig()
)

Functions

func InitConfig

func InitConfig()

InitConfig 初始化配置

Types

This section is empty.

Directories

Path Synopsis
cmd
client
Package main 客户端侧
Package main 客户端侧
server
Package main wg-tool server side
Package main wg-tool server side
commons
errs
Package errs 自定义错误
Package errs 自定义错误
inet
Package inet 定义网络库相关的内容
Package inet 定义网络库相关的内容
wg
Package wg 定义了一些 wireguard 能力
Package wg 定义了一些 wireguard 能力
Package models 定义数据库中存储的表内容
Package models 定义数据库中存储的表内容

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL