util

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package util micserver中的一些算法及实用工具

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModuleIDNum

func GetModuleIDNum(id string) int

GetModuleIDNum 获取模块ID中的模块序号,如 gate002 序号就是 2

func GetModuleIDType

func GetModuleIDType(id string) string

GetModuleIDType 获取模块ID中的模块类型部分,如 gate002 类型就是 gate

Types

This section is empty.

Directories

Path Synopsis
Package atomic provides simple wrappers around numerics to enforce atomic access.
Package atomic provides simple wrappers around numerics to enforce atomic access.
Package buffer 无拷贝IO缓冲区实现
Package buffer 无拷贝IO缓冲区实现
Package errors provides simple error handling primitives.
Package errors provides simple error handling primitives.
Package multierr allows combining one or more errors together.
Package multierr allows combining one or more errors together.
Package sysutil 系统当前的网络信息 Package sysutil 系统panic恢复
Package sysutil 系统当前的网络信息 Package sysutil 系统panic恢复
Package timer 系统时间 Package timer 定时器实现
Package timer 系统时间 Package timer 定时器实现
Package uid UUID生成器
Package uid UUID生成器

Jump to

Keyboard shortcuts

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