http2client

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ClientPreface = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

type GRPCClient interface {
	Call(ctx context.Context, serviceMethod string, req, res proto.Message) error
	Close()
}

func NewGRPCClient

func NewGRPCClient(serverURL *url.URL) (GRPCClient, error)

Jump to

Keyboard shortcuts

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