Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustListenAndServe ¶
func SetupTracing ¶
SetupTracing sets up jaeger as a global tracer for opentracing, a closer func is returned that can be used to flush buffers before shutdown.
Types ¶
type ObjectStorage ¶
func SetupObjectStorage ¶
func SetupObjectStorage(endpoint, accessKeyPath, secretKeyPath string, useSSL bool, region, bucket string) (*ObjectStorage, error)
func (*ObjectStorage) Exists ¶
func (o *ObjectStorage) Exists(ctx context.Context, path string) error
func (*ObjectStorage) Upload ¶
func (o *ObjectStorage) Upload(ctx context.Context, path string, file io.ReadSeeker, contentType string) error
Click to show internal directories.
Click to hide internal directories.