Documentation ¶
Index ¶
- type Bfs
- func (b *Bfs) GenImage(ctx context.Context, wmKey, wmText string, distance int, vertical bool) (res []byte, height, width int, hasher string, err error)
- func (b *Bfs) Upload(ctx context.Context, key, secret, contentType, bucket, dir, filename string, ...) (location, etag string, err error)
- func (b *Bfs) Watermark(ctx context.Context, data []byte, contentType, wmKey, wmText string, ...) (res []byte, err error)
- type Dao
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bfs ¶
type Bfs struct {
// contains filtered or unexported fields
}
Bfs .
func (*Bfs) GenImage ¶
func (b *Bfs) GenImage(ctx context.Context, wmKey, wmText string, distance int, vertical bool) (res []byte, height, width int, hasher string, err error)
GenImage gen a image.
Click to show internal directories.
Click to hide internal directories.