base

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: 0 Imported by: 0

Documentation

Overview

Package base micserver重要的一些接口

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IApp

type IApp interface {
}

IApp App提供给外部的接口

type ILog

type ILog interface {
	Debug(fmt string, args ...interface{})
	Warn(fmt string, args ...interface{})
	Info(fmt string, args ...interface{})
	Error(fmt string, args ...interface{})
	Fatal(fmt string, args ...interface{})
	Clone() ILog
	Close()
	SetLogName(logname string)
	SetTopic(topic string)
}

ILog micserver的log系统提供给外部的接口

type IModule

type IModule interface {
	GetModuleID() string
	GetModuleType() string
	GetModuleNum() int
	GetModuleIDHash() uint32
}

IModule module提供给外部的接口

Jump to

Keyboard shortcuts

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