mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
20 lines
291 B
Go
20 lines
291 B
Go
package s3api
|
|
|
|
import (
|
|
"github.com/versity/scoutgw/backend"
|
|
)
|
|
|
|
type S3ApiServer struct {
|
|
be backend.Backend
|
|
port int
|
|
}
|
|
|
|
func New(be backend.Backend, port int) (s3ApiServer *S3ApiServer, err error) {
|
|
s3ApiServer = &S3ApiServer{
|
|
be: be,
|
|
port: port,
|
|
}
|
|
|
|
return s3ApiServer, nil
|
|
}
|