dii2pserv

package
v0.0.0-...-bc8fae0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetServHost

func SetServHost(s string) func(*SamServices) error

SetServHost sets the ip address of the SAM bridge

func SetServPort

func SetServPort(s interface{}) func(*SamServices) error

SetServPort sets the port of the SAM bridge

Types

type SamServices

type SamServices struct {
	// contains filtered or unexported fields
}

SamServices is a structure for managing SAM services

func CreateSamServiceList

func CreateSamServiceList(opts ...func(*SamServices) error) (*SamServices, error)

CreateSamServiceList Creates a Service Manager from functional arguments

func (*SamServices) ReadDelete

func (samServiceStack *SamServices) ReadDelete() bool

ReadDelete checks whether to shut down the service manager

func (*SamServices) ServiceRequest

func (samServiceStack *SamServices) ServiceRequest()

ServiceRequest requests a new service interface from the SAM bridge

type ServiceOption

type ServiceOption func(*SamServices) error

ServiceOption is a functional argument for creating an http service

Jump to

Keyboard shortcuts

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