keystore

package
v0.0.0-...-095633c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

README

Keystore

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