slickClient

package
v0.0.0-...-8ffd270 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlickAuth

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

func (SlickAuth) GetRequestMetadata

func (auth SlickAuth) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (SlickAuth) RequireTransportSecurity

func (auth SlickAuth) RequireTransportSecurity() bool

type SlickClient

type SlickClient struct {
	GrpcUrl string
	Token   string
	Agents  slickqa.AgentsClient
	Links   slickqa.LinksClient
	// contains filtered or unexported fields
}

func CreateClient

func CreateClient(grpcUrl string, token string) (*SlickClient, error)

func (*SlickClient) Close

func (s *SlickClient) Close()

Jump to

Keyboard shortcuts

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