core

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

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InjectionRequestFactory

type InjectionRequestFactory struct {
	ServerID int
	APIKey   string
}

InjectionRequestFactory is used to convert user-friendly message types to a structure that is ready for json-serialization when making injection api requests

func (InjectionRequestFactory) GenerateBasicRequest

func (factory InjectionRequestFactory) GenerateBasicRequest(message *message.BasicMessage) serialization.InjectionRequestJson

GenerateBasicRequest converts a basic message to an injection request in a json-serialization ready format

func (InjectionRequestFactory) GenerateBulkRequest

func (factory InjectionRequestFactory) GenerateBulkRequest(message *message.BulkMessage) serialization.InjectionRequestJson

GenerateBulkRequest converts a bulk message to an injection request in a json-serialization ready format

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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