principal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Set is used by wire.

Functions

This section is empty.

Types

type Server

type Server struct {
	Config                           *config.Config
	DB                               *pgxpool.Pool
	Logger                           *log.Logger
	principal.UnsafePrincipalsServer `wire:"-"`
}

Server implements the principal.PrincipalsServer API.

func (*Server) Ensure

Ensure will store the given Principal in the database, updating Principal.Version on successful update.

func (*Server) List

List implements principal.PrincipalsServer.

func (*Server) Load

Load implements principal.PrincipalsServer.

func (*Server) Watch

Watch implements principal.PrincipalsServer.

Jump to

Keyboard shortcuts

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