Parcourir la source

Add doc for cli package

tags/v2.0.0-rc1
9seconds il y a 5 ans
Parent
révision
2b5b325722
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8
    0
      main.go

+ 8
- 0
main.go Voir le fichier

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

Chargement…
Annuler
Enregistrer