service

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallToken

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

func (CallToken) GetRequestMetadata

func (c CallToken) GetRequestMetadata(ctx context.Context,
	uri ...string) (map[string]string, error)

func (CallToken) RequireTransportSecurity

func (c CallToken) RequireTransportSecurity() bool

type RemoteClient

type RemoteClient struct {
	Token string
	// contains filtered or unexported fields
}

func (*RemoteClient) CallService

func (c *RemoteClient) CallService(code string, method string, version uint32, sequence uint32, data []byte) (string, error)

func (*RemoteClient) Connect

func (c *RemoteClient) Connect(address string) error

Jump to

Keyboard shortcuts

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