s3

package
v0.0.0-...-8b5660e Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 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 ConfigData

type ConfigData struct {
	EvmCfg    []byte
	YuCfg     []byte
	PoaCfg    []byte
	ConfigCfg []byte
}

type S3ConfigClient

type S3ConfigClient struct {
	Folder string
	Bucket string
	// contains filtered or unexported fields
}

func InitS3Config

func InitS3Config(folder, bucket string) (*S3ConfigClient, error)

func (*S3ConfigClient) GetConfig

func (s *S3ConfigClient) GetConfig() *ConfigData

func (*S3ConfigClient) Init

func (s *S3ConfigClient) Init(Folder, Bucket string) error

func (*S3ConfigClient) LoadAllConfig

func (s *S3ConfigClient) LoadAllConfig() error

func (*S3ConfigClient) LoadConfig

func (s *S3ConfigClient) LoadConfig(key string) ([]byte, error)

Jump to

Keyboard shortcuts

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