api

package
Version: v0.0.0-...-d462298 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PathAPI        = "/api/v1"
	PathPostAction = "/action"
	PathRespond    = "/respond"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*mux.Router
	// contains filtered or unexported fields
}

Handler is an http.Handler for all plugin HTTP endpoints

func NewService

func NewService(config config.Service, router *mux.Router, sl sl.Service) *Service

Jump to

Keyboard shortcuts

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