history

package
v0.0.0-...-c5f9841 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

func MakeHandler(ctx context.Context, s Service) http.Handler

Types

type Service

type Service interface {
	HistoryByID(id int64) (*protocol.History, error)

	HistoryList(*protocol.HistoryListRequest) ([]protocol.History, int64, error)
	HistoryLiteList(*protocol.HistoryLiteListRequest) ([]protocol.HistoryLite, int64, error)
	DeleteHistory(id string) error
	GetOptions() string
}

func NewService

func NewService(l *log.Entry) Service

NewService new a service for user

Jump to

Keyboard shortcuts

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