services

package
v0.0.0-...-c188a41 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 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 ExampleService

type ExampleService struct{}

func NewExampleService

func NewExampleService() *ExampleService

func (*ExampleService) Call

func (s *ExampleService) Call(ctx context.Context, req *proto.Request) (resp *proto.Response, err error)

func (*ExampleService) RegRpc

func (s *ExampleService) RegRpc(r *grpc.Server)

type HelloService

type HelloService struct{}

func NewHelloService

func NewHelloService() *HelloService

func (*HelloService) RegRpc

func (s *HelloService) RegRpc(r *grpc.Server)

func (*HelloService) Say

func (s *HelloService) Say(ctx context.Context, req *proto.InParam) (resp *proto.OutParam, err error)

type TestService

type TestService struct{}

func NewTestService

func NewTestService() *TestService

func (*TestService) Exec

func (s *TestService) Exec(ctx context.Context, req *proto.InParam) (resp *proto.OutParam, err error)

func (*TestService) RegRpc

func (s *TestService) RegRpc(r *grpc.Server)

Jump to

Keyboard shortcuts

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