Documentation
¶
Index ¶
Constants ¶
View Source
const ( CliName = "moling" CliNameZh = "魔灵" CliDescription = "" /* 170-byte string literal not displayed */ CliDescriptionZh = "" /* 126-byte string literal not displayed */ CliHomepage = "https://gojue.cc/moling" CliAuthor = "CFC4N <cfc4ncs@gmail.com>" CliGithubRepo = "https://github.com/gojue/moling" CliDescriptionLong = `` /* 661-byte string literal not displayed */ CliDescriptionLongZh = `` /* 482-byte string literal not displayed */ )
View Source
const (
MoLingVersion contextKey = "moling_version"
)
MoLingVersion is a context key for storing the version of MoLing
Variables ¶
View Source
var (
GitVersion = "linux-arm64-202503222008-v0.0.1"
)
Functions ¶
Types ¶
type MoLingServer ¶
type MoLingServer struct {
// contains filtered or unexported fields
}
func NewMoLingServer ¶
func (*MoLingServer) Serve ¶
func (s *MoLingServer) Serve() error
Click to show internal directories.
Click to hide internal directories.