bolt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Path string
	log.Logger
	// contains filtered or unexported fields
}

func NewClient

func NewClient() *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) DomainService

func (c *Client) DomainService() domain.Service

func (*Client) FileService

func (c *Client) FileService() *FileService

func (*Client) Open

func (c *Client) Open() error

type FileService

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

func (*FileService) File

func (s *FileService) File(fileKey string) (*filer.File, error)

func (*FileService) InsertFile

func (s *FileService) InsertFile(file *filer.File) error

func (*FileService) IsFileKeyExisted

func (s *FileService) IsFileKeyExisted(fileKey string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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