ソースを参照

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 (

読み込み中…
キャンセル
保存