ldcontextrest

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*resthandler.AuthHandler
	// contains filtered or unexported fields
}

Client represents a handler for adding ldcontext.

func New

func New(p storage.Provider) (*Client, error)

New returns a handler implementation for the service.

func (*Client) Handler

func (c *Client) Handler() common.HTTPRequestHandler

Handler returns the HTTP REST handler for the WebCAS service.

func (*Client) Method

func (c *Client) Method() string

Method returns the HTTP REST method for the service.

func (*Client) Path

func (c *Client) Path() string

Path returns the HTTP REST endpoint for the service.

Jump to

Keyboard shortcuts

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