service

package
v0.0.0-...-2981145 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewBoxService)

Functions

This section is empty.

Types

type BoxService

type BoxService struct {
	v1.UnimplementedBoxServer
	// contains filtered or unexported fields
}

func NewBoxService

func NewBoxService(conf configs.Interface, logger *xlog.Logger, formRepo data.FormRepo) *BoxService

func (*BoxService) AuthFuncOverride

func (svc *BoxService) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

func (*BoxService) FormAnswerSave

func (svc *BoxService) FormAnswerSave(ctx context.Context, in *v1.FormSaveReq) (*emptypb.Empty, error)

func (*BoxService) FormGet

func (svc *BoxService) FormGet(ctx context.Context, in *v1.FormGetReq) (*v1.FormGetResp, error)

func (*BoxService) FormList

func (svc *BoxService) FormList(ctx context.Context, in *v1.FormListReq) (*v1.FormListResp, error)

func (*BoxService) FormListQuestionType

func (svc *BoxService) FormListQuestionType(ctx context.Context, in *emptypb.Empty) (*v1.FormListQuestionTypeResp, error)

func (*BoxService) FormSave

func (svc *BoxService) FormSave(ctx context.Context, in *v1.FormSaveReq) (*emptypb.Empty, error)

func (*BoxService) Ping

func (svc *BoxService) Ping(ctx context.Context, in *emptypb.Empty) (*v1.Result, error)

Jump to

Keyboard shortcuts

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