desk

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: 13 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 {
	DeskByID(id int64) (*protocol.Desk, error)

	DeskList(*protocol.DeskListRequest) ([]protocol.Desk, int64, error)
	DeleteDesk(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