apiservice

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	apiv1.CertificateServer
	Store       db.DatabaseEndpoints
	Auth        authentication.Auth
	Service     *accounts.Service
	Certificate *certificate.Certificate
	User        *users.User
	Middleware  *middleware.Middleware
}

func BuildServer

func BuildServer(store db.DatabaseEndpoints, cfg *config.Config, enforcer *casbin.Enforcer) (*Server, error)

Jump to

Keyboard shortcuts

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