nightingale1/vendor/github.com/mojocn/base64Captcha/interface_item.go

12 lines
236 B
Go

package base64Captcha
import "io"
//Item is captcha item interface
type Item interface {
//WriteTo writes to a writer
WriteTo(w io.Writer) (n int64, err error)
//EncodeB64string encodes as base64 string
EncodeB64string() string
}