client

package
v0.0.0-...-bdf12fe Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFile

func ReadFile(file string) (*os.File, uint64)

Types

type FileClient

type FileClient struct {
	Session quic.Session
	Ctx     context.Context
}

func NewFileClient

func NewFileClient(address string) *FileClient

func (*FileClient) Close

func (c *FileClient) Close()

func (*FileClient) Download

func (c *FileClient) Download(file string) error

func (*FileClient) Upload

func (c *FileClient) Upload(file string) error

Jump to

Keyboard shortcuts

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