instance

package
v0.0.0-...-9d6c436 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	Sign(podName string, data json.RawMessage) (string, error)
	Verify(t string) (*jwt.Token, error)
}

type AwsS3

type AwsS3 interface {
	UploadFile(ctx context.Context, bucket, key string, data io.Reader, contentType, acl, cacheControl *string) error
	DownloadFile(ctx context.Context, bucket, key string, file io.WriterAt) error
}

type Mongo

type Mongo interface {
	mongo.Instance
}

type Redis

type Redis interface {
	redis.Instance
}

type Rmq

type Rmq interface {
	Subscribe(queue string) (<-chan amqp.Delivery, error)
	Publish(queue string, contentType string, deliveryMode uint8, msg []byte) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL