service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServerOptions

func GetServerOptions(factory ResponseFactory) []grpc.ServerOption

func GetStreamHadler

func GetStreamHadler(factory ResponseFactory) grpc.StreamHandler

func SHA1

func SHA1(input []byte) string

Types

type ResponseFactory

type ResponseFactory func(ctx context.Context, methodName string, reqData []byte) (interface{}, error)

func RespFactoryByTestcase

func RespFactoryByTestcase(svcs grpct.Services, caseSlice grpct.CaseSlice) (ResponseFactory, error)

Jump to

Keyboard shortcuts

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