handler

package
v0.0.0-...-ff36db3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageService

type StorageService struct {
	Port       string
	Addr       string
	MasterNode string
}

StorageService 存储节点信息.

func NewStorageService

func NewStorageService() *StorageService

NewStorageService 初始化存储服务.

func (*StorageService) InitStoragePath

func (s *StorageService) InitStoragePath(path string) error

InitStoragePath 初始化存储目录.

func (*StorageService) SelectPath

func (s *StorageService) SelectPath(hash string) string

SelectPath 选择存储路径.

func (*StorageService) Start

func (s *StorageService) Start()

Start .

Jump to

Keyboard shortcuts

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