Ver código fonte

Add doc for cli package

tags/v2.0.0-rc1
9seconds 5 anos atrás
pai
commit
2b5b325722
1 arquivos alterados com 8 adições e 0 exclusões
  1. 8
    0
      main.go

+ 8
- 0
main.go Ver arquivo

@@ -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 (

Carregando…
Cancelar
Salvar