Back to godoc.org
istio.io/istio/pkg/test/echo/server

package server

v0.0.0 (7af0740)
Latest Go to latest
Published: 1 hour ago | License: Apache-2.0 | Module: istio.io/istio

Index

type Config

type Config struct {
	Ports     common.PortList
	Metrics   int
	TLSCert   string
	TLSKey    string
	Version   string
	UDSServer string
	Cluster   string
	Dialer    common.Dialer
}

Config for an echo server Instance.

type Instance

type Instance struct {
	Config
	// contains filtered or unexported fields
}

Instance of the Echo server.

func New

func New(config Config) *Instance

New creates a new server instance.

func (*Instance) Close

func (s *Instance) Close() (err error)

Close implements the application.Application interface

func (*Instance) Start

func (s *Instance) Start() (err error)

Start the server.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier