keystore

package
v0.0.0-...-821bc58 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REST    = "REST"
	GraphQL = "GRAPHQL"
)

Variables

This section is empty.

Functions

func ServeMux

func ServeMux(s *Service) http.Handler

Types

type Authenticator

type Authenticator struct {
	URL     string
	APIType string
}

type Config

type Config struct {
	DBURL          string
	MaxIdleDBConns int
	MaxOpenDBConns int

	AUTHURL string

	ListenerPort int
}

type Service

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

func NewService

func NewService(ctx context.Context, db *sql.DB, authenticator *Authenticator) *Service

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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