rekeyservice

package
v0.0.0-...-4fa03f3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 13 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
}

Service composes the required modules needed to manage the lifecycle

func NewService

func NewService(
	ebSession *eventbrite.Session,
	key *masterkey.MasterKey,
	db *models.DatabaseContext,
	mc mail.Client) Service

NewService is the creator the the rekey-service

func (*Service) Close

func (srv *Service) Close()

Close will release the resources used by the server

func (*Service) StartHTTP

func (srv *Service) StartHTTP(port int)

StartHTTP will block and start the http service binded on `port`

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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