test

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package test ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockServer

func NewMockServer(handler kt.Mock, addr net.Addr, opts ...server.Option) server.Server

NewMockServer normal server

Types

type GenericServiceBizErrorImpl added in v0.10.2

type GenericServiceBizErrorImpl struct{}

GenericServiceBizErrorImpl ...

func (*GenericServiceBizErrorImpl) GenericCall added in v0.10.2

func (g *GenericServiceBizErrorImpl) GenericCall(ctx context.Context, method string, request interface{}) (response interface{}, err error)

GenericCall ...

type GenericServiceErrorImpl

type GenericServiceErrorImpl struct{}

GenericServiceErrorImpl ...

func (*GenericServiceErrorImpl) GenericCall

func (g *GenericServiceErrorImpl) GenericCall(ctx context.Context, method string, request interface{}) (response interface{}, err error)

GenericCall ...

type GenericServiceImpl

type GenericServiceImpl struct{}

GenericServiceImpl ...

func (*GenericServiceImpl) GenericCall

func (g *GenericServiceImpl) GenericCall(ctx context.Context, method string, request interface{}) (response interface{}, err error)

GenericCall ...

type GenericServiceMockImpl

type GenericServiceMockImpl struct{}

GenericServiceMockImpl ...

func (*GenericServiceMockImpl) GenericCall

func (g *GenericServiceMockImpl) GenericCall(ctx context.Context, method string, request interface{}) (response interface{}, err error)

GenericCall ...

type MockImpl

type MockImpl struct{}

MockImpl is used for test

func (*MockImpl) ExceptionTest added in v0.7.0

func (m *MockImpl) ExceptionTest(ctx context.Context, req *kt.MockReq) (r string, err error)

ExceptionTest ...

func (*MockImpl) Test

func (m *MockImpl) Test(ctx context.Context, req *kt.MockReq) (r string, err error)

Test ...

Jump to

Keyboard shortcuts

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