adminf

package
v0.0.0-...-69ab156 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package adminf comment This file war generated by tars2go 1.1 Generated from AdminF.tars

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminF

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

AdminF struct

func (*AdminF) Dispatch

func (_obj *AdminF) Dispatch(ctx context.Context, _val interface{}, req *requestf.RequestPacket, resp *requestf.ResponsePacket, withContext bool) (err error)

Dispatch is used to call the server side implemnet for the method defined in the tars file. withContext shows using context or not.

func (*AdminF) Notify

func (_obj *AdminF) Notify(Command string, _opt ...map[string]string) (ret string, err error)

Notify is the proxy function for the method defined in the tars file, with the context

func (*AdminF) NotifyWithContext

func (_obj *AdminF) NotifyWithContext(ctx context.Context, Command string, _opt ...map[string]string) (ret string, err error)

NotifyWithContext is the proxy function for the method defined in the tars file, with the context

func (*AdminF) SetServant

func (_obj *AdminF) SetServant(s m.Servant)

SetServant sets servant for the service.

func (*AdminF) Shutdown

func (_obj *AdminF) Shutdown(_opt ...map[string]string) (err error)

Shutdown is the proxy function for the method defined in the tars file, with the context

func (*AdminF) ShutdownWithContext

func (_obj *AdminF) ShutdownWithContext(ctx context.Context, _opt ...map[string]string) (err error)

ShutdownWithContext is the proxy function for the method defined in the tars file, with the context

func (*AdminF) TarsSetTimeout

func (_obj *AdminF) TarsSetTimeout(t int)

TarsSetTimeout sets the timeout for the servant which is in ms.

Jump to

Keyboard shortcuts

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