grpcserver

package
v0.0.0-...-83c2e28 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func Must

func Must(client *Client, err error) *Client

func New

func New(opts *ClientOptions) (*Client, error)

func (*Client) Run

func (c *Client) Run() error

type ClientOptions

type ClientOptions struct {
	Port int

	ServiceDesc *grpc.ServiceDesc
	Core        interface{}
}

type CoreInterface

type CoreInterface interface{}

type GrpcServerInterface

type GrpcServerInterface interface {
	RegisterService(*grpc.ServiceDesc, interface{})
}

Jump to

Keyboard shortcuts

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