command

package
v0.0.0-...-dd1a141 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	ExecuteHelloServiceCommand(context context.Context, req *proto.HelloRequest) (interface{}, string, error)
	ExecuteQueryDataServiceCommand(context context.Context, req *proto.TransactionQueryRequest) (interface{}, string, error)
}

type GrpcHelloCommand

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

func NewGrpcHelloCommand

func NewGrpcHelloCommand(console *zap.Logger, helloService hservice.Executor) *GrpcHelloCommand

func (*GrpcHelloCommand) ExecuteHelloServiceCommand

func (a *GrpcHelloCommand) ExecuteHelloServiceCommand(context context.Context, req *proto.HelloRequest) (interface{}, string, error)

func (*GrpcHelloCommand) ExecuteQueryDataServiceCommand

func (a *GrpcHelloCommand) ExecuteQueryDataServiceCommand(context context.Context, req *proto.TransactionQueryRequest) (interface{}, string, error)

Jump to

Keyboard shortcuts

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