archive

package
v0.0.0-...-5584500 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Copyright (c) 2015 Pagoda Box Inc

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltArchive

type BoltArchive struct {
	DB            *bolt.DB
	MaxBucketSize uint64
}

func NewBoltArchive

func NewBoltArchive(path string) (*BoltArchive, error)

func (*BoltArchive) Slice

func (archive *BoltArchive) Slice(name string, offset, limit uint64, level int) ([]logtap.Message, error)

func (*BoltArchive) Write

func (archive *BoltArchive) Write(log logtap.Logger, msg logtap.Message)

Jump to

Keyboard shortcuts

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