services

package
v0.0.0-...-b7950ab Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirebaseService

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

FirebaseService contains methods for finding and manipulating resources

func NewFirebaseService

func NewFirebaseService(firebaseCredentialsFilePath string) *FirebaseService

NewFirebaseService creates an instance of FirebaseService

func (FirebaseService) GetUser

func (fs FirebaseService) GetUser(uid string) *auth.UserRecord

GetUser get a user by uid

func (FirebaseService) Verify

func (fs FirebaseService) Verify(id string) (*auth.Token, error)

Verify verify an id token

type HelloService

type HelloService struct {
}

HelloService contains methods for finding and manipulating resources

func NewHelloService

func NewHelloService() *HelloService

NewHelloService creates an instance of HelloService

func (HelloService) SayHello

func (hs HelloService) SayHello(name string) string

SayHello say hello

Jump to

Keyboard shortcuts

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