rpc

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginCount

func BeginCount(service string)

BeginCount begin count

func EndCount

func EndCount(service string)

EndCount end count

func RemoveStatus

func RemoveStatus(service string)

RemoveStatus remove the RpcStatus of this service

Types

type Status

type Status struct {
	Active int32
	Total  int32
}

func GetStatus

func GetStatus(service string) *Status

GetStatus get status

func (*Status) GetActive

func (s *Status) GetActive() int32

GetActive get active.

func (*Status) GetTotal

func (s *Status) GetTotal() int32

GetTotal get total.

Jump to

Keyboard shortcuts

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