server

package
v0.0.0-...-9c57a2a Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*viper.Viper

	// Main map and submaps of parsed album data
	Albums []*album.Album

	// Device Tokens for firebase messaging
	DeviceTokens []string

	Started bool

	// DeterminedName is the user's name derived from comment's "IsMine" bool.
	DeterminedName string
	Mutex          sync.RWMutex
	// contains filtered or unexported fields
}

Server holds global state of the iMessage server

func New

func New() (*Server, error)

func (*Server) Start

func (s *Server) Start(binder func(s *Server, r *mux.Router))

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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