clientmap

package
v0.0.0-...-c544f1c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientMap

type ClientMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New() *ClientMap

func WithCapacity

func WithCapacity(cap int) *ClientMap

func (*ClientMap) Each

func (m *ClientMap) Each(fn func(region string, client *s3.Client))

func (*ClientMap) Get

func (m *ClientMap) Get(key string) *s3.Client

func (*ClientMap) Len

func (m *ClientMap) Len() int

func (*ClientMap) Set

func (m *ClientMap) Set(key string, value *s3.Client)

Jump to

Keyboard shortcuts

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