Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IrisApp ¶
func IrisApp() *iris.Application
func IrisMainParty ¶
func RestMainWebService ¶ added in v0.0.24
func RestWebService ¶ added in v0.0.24
func RestWebService() *restful.WebService
Types ¶
type IrisServerStarter ¶
type IrisServerStarter struct {
infra.BaseStarter
}
func NewBlockIrisServerStarter ¶ added in v0.0.20
func NewBlockIrisServerStarter() *IrisServerStarter
func (*IrisServerStarter) Init ¶
func (i *IrisServerStarter) Init(ctx context.Context)
func (*IrisServerStarter) Setup ¶
func (i *IrisServerStarter) Setup(ctx context.Context)
func (*IrisServerStarter) Start ¶
func (i *IrisServerStarter) Start(ctx context.Context)
func (*IrisServerStarter) StartBlocking ¶
func (i *IrisServerStarter) StartBlocking() bool
type RestServerStarter ¶ added in v0.0.24
type RestServerStarter struct {
infra.BaseStarter
}
func NewBlockRestServerStarter ¶ added in v0.0.24
func NewBlockRestServerStarter() *RestServerStarter
func (*RestServerStarter) Init ¶ added in v0.0.24
func (s *RestServerStarter) Init(ctx context.Context)
func (*RestServerStarter) Setup ¶ added in v0.0.24
func (s *RestServerStarter) Setup(ctx context.Context)
func (*RestServerStarter) Start ¶ added in v0.0.24
func (s *RestServerStarter) Start(ctx context.Context)
func (*RestServerStarter) StartBlocking ¶ added in v0.0.24
func (i *RestServerStarter) StartBlocking() bool
func (*RestServerStarter) Stop ¶ added in v0.0.24
func (s *RestServerStarter) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.