keystore

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 17 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