handler

package
v0.0.0-...-6739984 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(s server.Server, o Options) error

RegisterHandlers will register handlers for user services

Types

type Options

type Options struct {
	ServiceName     string
	DB              *gorm.DB
	TokenSecret     string
	TokenExpiration time.Duration
}

Options represents handler options

Jump to

Keyboard shortcuts

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