service

package
v0.0.0-...-0b15fe8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CryptService

type CryptService interface {
	Encrypt(data []byte) ([]byte, error)

	Decrypt(source string) ([]byte, error)
}

type DriveNativeFactory

type DriveNativeFactory interface {
	Build() *domain.BuildSource
}

type Factory

type Factory interface {
	NewDriveNative(cfg domain.EnvConfig) DriveNativeFactory

	NewCryptService() CryptService

	NewMessageBroker() MessageBroker
}

func NewServiceFactory

func NewServiceFactory(cfg domain.SpringCloudConfig) Factory

type MessageBroker

type MessageBroker interface {
	Publish(msg string) error
}

Jump to

Keyboard shortcuts

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