session

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeSession

type RuntimeSession struct {
	RuntimeConfig *sap.RuntimeConfig
	Processors    processors.Processors
}

func BuildFromConfig

func BuildFromConfig(c *sap.Config) (*RuntimeSession, error)

Build new RuntimeSession from sap.Config data

func (*RuntimeSession) HardUpdate

func (s *RuntimeSession) HardUpdate(c *sap.Config) error

Hard Update of RuntimeSession Configuration, by updating all configuration, replacing and old one.

func (*RuntimeSession) LightUpdate

func (s *RuntimeSession) LightUpdate(c *sap.Config) error

Light Update of RuntimeSession Configuration, by skiping existent endpoint, added only new one from config.

func (*RuntimeSession) ServiceConfig

func (s *RuntimeSession) ServiceConfig(serviceId string) (*service.Config, error)

Preparing the service configuration, coming out of runtime session

Jump to

Keyboard shortcuts

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