瀏覽代碼

Add doc for cli package

tags/v2.0.0-rc1
9seconds 5 年之前
父節點
當前提交
2b5b325722
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8
    0
      main.go

+ 8
- 0
main.go 查看文件

@@ -1,3 +1,11 @@
1
+// mtg is just a command-line application that starts a proxy.
2
+//
3
+// Application logic is how to read a config and configure mtglib.Proxy.
4
+// So, probably you need to read the documentation for mtglib package
5
+// first.
6
+//
7
+// mtglib is a core of the application. The rest of the packages provide
8
+// some default implementations for the interfaces, defined in mtglib.
1 9
 package main
2 10
 
3 11
 import (

Loading…
取消
儲存