putsvc

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 17 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 WithKey added in v0.39.1

func WithKey(k *ecdsa.PrivateKey) 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