restinterface

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package restinterface implements internal/external REST API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasRoutes

type HasRoutes struct {
	Routes Routes
}

HasRoutes wraps Routes

func (HasRoutes) GetRoutes

func (h HasRoutes) GetRoutes() Routes

GetRoutes returns Routes

type IRestRoutes

type IRestRoutes interface {
	cipher.Setter
	GetRoutes() Routes
}

IRestRoutes is the interface implemented by Get/Set for REST API

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

Route type

type Routes

type Routes []Route

Routes type

Directories

Path Synopsis
Package cipher implements simple encrypting and decrypting message
Package cipher implements simple encrypting and decrypting message
dummy
Package dummy provides the mocking functions
Package dummy provides the mocking functions
mocks
Package mock_cipher is a generated GoMock package.
Package mock_cipher is a generated GoMock package.
sha256
Package sha256 implements encryption/decryption functions by sha256
Package sha256 implements encryption/decryption functions by sha256
Package client implements REST client management functions
Package client implements REST client management functions
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
restclient
Package restclient implements REST client functions to send request to remote orchestration
Package restclient implements REST client functions to send request to remote orchestration
Package externalhandler implements REST server functions to communication between orchestration and service applications
Package externalhandler implements REST server functions to communication between orchestration and service applications
Package internalhandler implements REST server functions to communication between orchestrations
Package internalhandler implements REST server functions to communication between orchestrations
Package mock_restinterface is a generated GoMock package.
Package mock_restinterface is a generated GoMock package.
Package resthelper implements rest helper functions
Package resthelper implements rest helper functions
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package route implements management functions of REST Router
Package route implements management functions of REST Router

Jump to

Keyboard shortcuts

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