Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchest committed Mar 11, 2012
1 parent da58f6d commit b80c582
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ verify that the given solution is the right one for the given captcha id.
Server provides an http.Handler which can serve image and audio
representations of captchas automatically from the URL. It can also be used
to reload captchas. Refer to Server function documentation for details, or
take a look at the example in "example" subdirectory.
take a look at the example in "capexample" subdirectory.


Examples
Expand Down Expand Up @@ -211,6 +211,8 @@ NewImage returns a new audio captcha with the given digits, where each digit
must be in range 0-9. Digits are pronounced in the given language. If there
are no sounds for the given language, English is used.

Possible values for lang are "en", "ru", "zh".

### func (*Audio) EncodedLen

func (a *Audio) EncodedLen() int
Expand Down Expand Up @@ -279,11 +281,3 @@ Bugs
* While Image conforms to io.WriterTo interface, its WriteTo
method returns 0 instead of the actual bytes written because png.Encode
doesn't report this.


Subdirectories
--------------

* capgen
* example
* generate
2 changes: 1 addition & 1 deletion captcha.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
// Server provides an http.Handler which can serve image and audio
// representations of captchas automatically from the URL. It can also be used
// to reload captchas. Refer to Server function documentation for details, or
// take a look at the example in "example" subdirectory.
// take a look at the example in "capexample" subdirectory.
package captcha

import (
Expand Down

0 comments on commit b80c582

Please sign in to comment.