server

package
v0.0.0-...-b6bb559 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterFunc

type FilterFunc func(reqBody interface{}) (MockFIlter, error)

type Method

type Method struct {
	Name     string
	Func     interface{}
	Bindings interface{}
}

type MockFIlter

type MockFIlter struct {
}

func (MockFIlter) Filter

func (c MockFIlter) Filter(ctx context.Context, req interface{},
	next interface{}) (
	rspbody interface{}, err error)

func (MockFIlter) Handle

func (c MockFIlter) Handle(ctx context.Context, req, rsp interface{},
	next func(ctx context.Context, reqbody interface{}, rspbody interface{}) error) error

type Service

type Service struct {
}

func (Service) Register

func (s Service) Register(interface{}, interface{}) error

type ServiceDesc

type ServiceDesc struct {
	ServiceName  string
	HandlerType  interface{}
	Methods      interface{}
	Streams      interface{}
	StreamHandle interface{}
}

ServiceDesc describes a proto service.

Jump to

Keyboard shortcuts

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