service

package
v0.0.0-...-cb472e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 21 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) SearchConfigAdmin

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

SearchConfigAdmin search the config

func (*Service) SetApiSrvAddr

func (s *Service) SetApiSrvAddr(ccApiSrvAddr string)

func (*Service) SetCache

func (s *Service) SetCache(cache *redis.Client)

func (*Service) SetDB

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

func (*Service) SetIam

func (s *Service) SetIam(iam *iam.Iam)

func (*Service) SetSystemConfiguration

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

SetSystemConfiguration used for set variable in cc_System table

func (*Service) UpdateConfigAdmin

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

UpdateConfigAdmin udpate the config

func (*Service) UserConfigSwitch

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

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