service

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middle

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

func NewMiddle

func NewMiddle(db *gorm.DB, webURL string) *Middle

func (*Middle) CreatePage

func (s *Middle) CreatePage(ctx context.Context, payload *pb.PageRequest) (*pb.Text, error)

func (*Middle) GetPage

func (s *Middle) GetPage(ctx context.Context, payload *pb.PageRequest) (*pb.PageReply, error)

func (*Middle) Qr

func (s *Middle) Qr(ctx context.Context, payload *pb.Text) (*pb.Text, error)

Jump to

Keyboard shortcuts

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