getsvc

package
v0.12.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: GPL-3.0 Imports: 5 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)

func WithRangeService

func WithRangeService(v *rangesvc.Service) Option

type Prm

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

func (*Prm) WithAddress

func (p *Prm) WithAddress(v *object.Address) *Prm

func (*Prm) WithCommonPrm

func (p *Prm) WithCommonPrm(v *util.CommonPrm) *Prm

type Service

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

func NewService

func NewService(opts ...Option) *Service

func (*Service) Get

func (s *Service) Get(ctx context.Context, prm *Prm) (*Streamer, error)

type Streamer

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

func (*Streamer) Recv

func (p *Streamer) Recv() (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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