server

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

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

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectedReturn

type ExpectedReturn struct {
	Err      error
	Response thrift.TStruct
}

type MockServer

type MockServer struct {
	Server *thrift.TSimpleServer
	// contains filtered or unexported fields
}

func MustNewMockServer

func MustNewMockServer(host string) *MockServer

func (*MockServer) SetExpectedReturn

func (s *MockServer) SetExpectedReturn(methodName string, expected ExpectedReturn)

func (*MockServer) Start

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

func (*MockServer) Stop

func (s *MockServer) Stop()

Jump to

Keyboard shortcuts

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