client

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 3 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 {
	Conn *grpc.ClientConn
	Conf Config
}

func (*Client) Close

func (c *Client) Close() error

func (*Client) Config

func (c *Client) Config() any

func (*Client) Set added in v1.10.0

func (c *Client) Set()

type Config

type Config struct {
	Addr    string
	TLS     bool
	Options []grpc.DialOption
}

func (*Config) Build

func (c *Config) Build() *grpc.ClientConn

func (*Config) Init

func (c *Config) Init()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

Jump to

Keyboard shortcuts

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