component

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(executeHandler interface{}, prepareHandler interface{}, commitHandler interface{}, rollbackHandler interface{})

服务启动

func StartExecute

func StartExecute(executeHandler interface{})

Types

type ClientCaller

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

Here is a real implementation of Greeter

func (*ClientCaller) Commit

func (c *ClientCaller) Commit(request common.RpcReqComponent) (resp common.RpcResComponent)

func (*ClientCaller) Execute

func (c *ClientCaller) Execute(request common.RpcReqComponent) (resp common.RpcResComponent)

func (*ClientCaller) Prepare

func (c *ClientCaller) Prepare(request common.RpcReqComponent) (resp common.RpcResComponent)

func (*ClientCaller) Rollback

func (c *ClientCaller) Rollback(request common.RpcReqComponent) (resp common.RpcResComponent)

Jump to

Keyboard shortcuts

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