acp

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: AGPL-3.0 Imports: 14 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 {
	// contains filtered or unexported fields
}

Server serves ACP endpoints.

func NewServer

func NewServer(listenAddr, key string) *Server

NewServer creates a new ACP Server.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run runs the ACP auth server.

func (*Server) UpdateHandler

func (s *Server) UpdateHandler(ctx context.Context, acps []edge.ACP)

UpdateHandler updates auth routes served by the Server.

Directories

Path Synopsis
jwt

Jump to

Keyboard shortcuts

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