client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserAgent

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

func NewUserAgentClient

func NewUserAgentClient(addr []string, logger log.Logger) (*UserAgent, error)

func (*UserAgent) NewGRPCClient

func (u *UserAgent) NewGRPCClient(conn *grpc.ClientConn) src.Service

func (*UserAgent) RequestLogin

func (u *UserAgent) RequestLogin(_ context.Context, request interface{}) (interface{}, error)

func (*UserAgent) ResponseLogin

func (u *UserAgent) ResponseLogin(_ context.Context, response interface{}) (interface{}, error)

func (*UserAgent) UserAgentClient

func (u *UserAgent) UserAgentClient() (src.Service, error)

Jump to

Keyboard shortcuts

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