service

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 4 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 {
	// contains filtered or unexported fields
}

For running smartOps of a messaging channel before running a function itself.

func New

func New(ctx context.Context, _type uint32, srv iface.Service, project, application string, config *structureSpec.Service) (*Service, error)

func (*Service) Application

func (s *Service) Application() string

func (*Service) Config

func (s *Service) Config() *structureSpec.Service

func (*Service) Context

func (s *Service) Context() context.Context

func (*Service) Project

func (s *Service) Project() string

func (*Service) SmartOps

func (s *Service) SmartOps(smartOps []string) (uint32, error)

func (*Service) Type

func (s *Service) Type() uint32

Jump to

Keyboard shortcuts

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