services

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

Functions

func IgnoreErrorIfContains

func IgnoreErrorIfContains(ctx context.Context, err error, match string, warningMsg string) error

Types

type EventType

type EventType int
const (
	EVENT_TYPE_CREATE EventType = iota
	EVENT_TYPE_UPDATE
	EVENT_TYPE_DELETE
	EVENT_TYPE_NOTIFICATION
	EVENT_TYPE_ERROR
)

func (EventType) String

func (t EventType) String() string

type ServiceType

type ServiceType int
const (
	SERVICETYPE_BROKER ServiceType = iota
	SERVICETYPE_DATASTORE
	SERVICETYPE_CQRS
	SERVICETYPE_UNDEFINED
)

func GetServiceType

func GetServiceType(serviceType string) ServiceType

func (ServiceType) String

func (d ServiceType) String() string

Jump to

Keyboard shortcuts

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