Skip to main content

aibalance

函数名函数描述/介绍
aibalance.StartStart starts the AI balance server with options
aibalance.adminPassword
aibalance.config
aibalance.host
aibalance.port

函数定义#

Start#

详细描述#

Start starts the AI balance server with options

定义#

Start(opts ...StartOption) error

参数#

参数名参数类型参数解释
opts...StartOption

返回值#

返回值(顺序)返回值类型返回值解释
r1error

adminPassword#

详细描述#

定义#

adminPassword(password string) StartOption

参数#

参数名参数类型参数解释
passwordstring

返回值#

返回值(顺序)返回值类型返回值解释
r1StartOption

config#

详细描述#

定义#

config(configFile string) StartOption

参数#

参数名参数类型参数解释
configFilestring

返回值#

返回值(顺序)返回值类型返回值解释
r1StartOption

host#

详细描述#

定义#

host(host string) StartOption

参数#

参数名参数类型参数解释
hoststring

返回值#

返回值(顺序)返回值类型返回值解释
r1StartOption

port#

详细描述#

定义#

port(port int) StartOption

参数#

参数名参数类型参数解释
portint

返回值#

返回值(顺序)返回值类型返回值解释
r1StartOption