Skip to content

A server framework by registing command to implement features.

Notifications You must be signed in to change notification settings

blackspace/goserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goserver

A server framework by registing command to implement features.

Usage

    command.Commands.RegistCommand("hello", func(clt *client.Client, args ...string) string {
        return "hello,I am a robot"
    },"say hello")


	s:=goserver.NewServer()
	s.Start("127.0.0.1","5050")
	defer s.Stop()

Example

There are some examples in the examples directory

About

A server framework by registing command to implement features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages