microserver

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPConn

func NewHTTPConn(microServerConf *conf.MicroServer, discovery *conf.Discovery) (*http.Client, error)

func NewRPCConn

func NewRPCConn(microServerConf *conf.MicroServer, discovery *conf.Discovery) (*grpc.ClientConn, error)

Types

type Option

type Option struct {
	RPCOpts  []grpc.CallOption
	HTTPOpts []http.CallOption
}

Option grpc/http option

Jump to

Keyboard shortcuts

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