minio

package
v0.0.0-...-0b90c35 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(_ context.Context, appName string, profileBufferLength int64, keyPrefix string, cfg *Config) (*Client, error)

func (*Client) DeleteProfile

func (c *Client) DeleteProfile(ctx context.Context, createdAt time.Time) error

func (*Client) DeleteProfiles

func (c *Client) DeleteProfiles(ctx context.Context, startedAt, endedAt time.Time) error

func (*Client) GetProfile

func (c *Client) GetProfile(ctx context.Context, createdAt time.Time) ([]byte, error)

func (*Client) GetProfiles

func (c *Client) GetProfiles(ctx context.Context, startedAt, endedAt time.Time) ([][]byte, error)

func (*Client) SaveProfile

func (c *Client) SaveProfile(ctx context.Context, createdAt time.Time, profile []byte) error

type Config

type Config struct {
	Endpoint        string
	Bucket          string
	AccessKeyID     string
	SecretAccessKey string
	Token           string
	UseSSL          bool
}

type Metadata

type Metadata struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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