history

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeleteTime

func AddDeleteTime(ctx context.Context, kvIDs []string, project, domain string) error

AddDeleteTime add delete time to all revisions of the kv, thus these revisions will be automatically deleted by TTL index.

func AddHistory

func AddHistory(ctx context.Context, kv *model.KVDoc) error

AddHistory add kv history

Types

type Service

type Service struct {
}

Service is the implementation

func (*Service) GetHistory

func (s *Service) GetHistory(ctx context.Context, kvID string, options ...service.FindOption) (*model.KVResponse, error)

GetHistory get all history by label id

Jump to

Keyboard shortcuts

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