opa

package
v0.0.0-...-547d54e Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 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 ServerAPI

type ServerAPI struct {
	Router    *mux.Router
	OpaClient *opaClient
}

ServerAPI is the Server's API.

func New

func New(mongoClient *mongo2.Mongo, p string) *ServerAPI

New return the server's API.

func (*ServerAPI) Run

func (c *ServerAPI) Run(ctx context.Context) error

Run the server.

Jump to

Keyboard shortcuts

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