inputhost

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InClientImpl

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

InClientImpl is a inputhost tchannel client

func NewClient

func NewClient(instanceID int, hostAddr string) (*InClientImpl, error)

NewClient returns a new instance of tchannel client

func (*InClientImpl) Close

func (s *InClientImpl) Close()

Close closes the client

func (*InClientImpl) ListLoadedDestinations

func (s *InClientImpl) ListLoadedDestinations() (*admin.ListLoadedDestinationsResult_, error)

ListLoadedDestinations lists all the loaded destinations from the inputhost

func (*InClientImpl) ReadDestState

ReadDestState reads the given destination's state from the inputhost

func (*InClientImpl) UnloadDestinations

func (s *InClientImpl) UnloadDestinations(req *admin.UnloadDestinationsRequest) error

UnloadDestinations unloads the destination from the inputhost

Jump to

Keyboard shortcuts

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