service

package
v0.0.0-...-be0592b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*backbone.Engine

	Config options.Config
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx context.Context) *Service

func (*Service) Healthz

func (s *Service) Healthz(req *restful.Request, resp *restful.Response)

func (*Service) InitAuthCenter

func (s *Service) InitAuthCenter(req *restful.Request, resp *restful.Response)

func (*Service) SetApiSrvAddr

func (s *Service) SetApiSrvAddr(ccApiSrvAddr string)

func (*Service) SetAuthcenter

func (s *Service) SetAuthcenter(authCenter *authcenter.AuthCenter)

func (*Service) SetDB

func (s *Service) SetDB(db dal.RDB)

func (*Service) SetSystemConfiguration

func (s *Service) SetSystemConfiguration(req *restful.Request, resp *restful.Response)

SetSystemConfiguration used for set variable in cc_System table

func (*Service) WebService

func (s *Service) WebService() *restful.Container

Jump to

Keyboard shortcuts

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