proxy

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultProxyService

type DefaultProxyService struct {
	// contains filtered or unexported fields
}

DefaultProxyService struct for management proxy repository

func NewProxyService

func NewProxyService(repository domain.ProxyRepository) DefaultProxyService

NewProxyService return new DefaultProxyService

func (DefaultProxyService) GetKEY

func (s DefaultProxyService) GetKEY(engine, key string) (string, error)

GetKEY get key

func (DefaultProxyService) SaveSecretKEY

func (s DefaultProxyService) SaveSecretKEY(engine, key, apikey string) (string, error)

SaveSecretKEY save secret key

type ProxyService

type ProxyService interface {
	SaveSecretKEY(string, string, string) error
	GetKEY(string, string) (string, error)
}

ProxyService interface service for proxy repository funcionalities

Jump to

Keyboard shortcuts

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