putsvc

package
v0.27.7 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*cfg)

Option represents Service constructor option.

func WithInternalService

func WithInternalService(v *putsvc.Service) Option

func WithKeyStorage added in v0.21.0

func WithKeyStorage(ks *util.KeyStorage) Option

type Service

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

Service implements Put operation of Object service v2.

func NewService

func NewService(opts ...Option) *Service

NewService constructs Service instance from provided options.

func (*Service) Put

Put calls internal service and returns v2 object streamer.

Jump to

Keyboard shortcuts

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