link_manager_client

package
v0.0.0-...-d18a318 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(baseURL string) (om.LinkManager, error)

Types

type EndpointSet

type EndpointSet struct {
	GetLinksEndpoint   endpoint.Endpoint
	AddLinkEndpoint    endpoint.Endpoint
	UpdateLinkEndpoint endpoint.Endpoint
	DeleteLinkEndpoint endpoint.Endpoint
}
func (s EndpointSet) AddLink(req om.AddLinkRequest) (err error)
func (s EndpointSet) DeleteLink(username string, url string) (err error)
func (s EndpointSet) GetLinks(req om.GetLinksRequest) (result om.GetLinksResult, err error)
func (s EndpointSet) UpdateLink(req om.UpdateLinkRequest) (err error)

type SimpleResponse

type SimpleResponse struct {
	Err string
}

Jump to

Keyboard shortcuts

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