example

package
v0.0.0-...-6d43c30 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 3 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 {
	ServiceTimeout ServiceTimeout
	DBStore        dbstore.DBStore
	// contains filtered or unexported fields
}

Service is the service struct we ultimately want to inject

func (*Service) GetValueFromDBStore

func (s *Service) GetValueFromDBStore() string

GetValueFromDBStore gets a value from the DB store

func (*Service) SetValueInDBStore

func (s *Service) SetValueInDBStore(value string) error

SetValueInDBStore sets a value from the DB store

type ServiceTimeout

type ServiceTimeout time.Duration

ServiceTimeout is the amount of time the service has to handle the operation

Directories

Path Synopsis
Package bindings setups the the dependency bindings for a component
Package bindings setups the the dependency bindings for a component
digen
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.

Jump to

Keyboard shortcuts

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