interface_item.go 236 B

1234567891011
  1. package base64Captcha
  2. import "io"
  3. //Item is captcha item interface
  4. type Item interface {
  5. //WriteTo writes to a writer
  6. WriteTo(w io.Writer) (n int64, err error)
  7. //EncodeB64string encodes as base64 string
  8. EncodeB64string() string
  9. }