Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type IBuilder ¶
type IBuilder interface {
PutMessage(net_message.IMessage) string
}
func NewBuilder ¶
func NewBuilder() IBuilder
type IClient ¶
type IClient interface { GetIndex(context.Context) (string, error) GetSettings(context.Context) (config.IConfigSettings, error) GetPointer(context.Context) (uint64, error) GetHash(context.Context, uint64) (string, error) GetMessage(context.Context, string) (net_message.IMessage, error) PutMessage(context.Context, net_message.IMessage) error }
func NewClient ¶
func NewClient(pBuilder IBuilder, pRequester IRequester) IClient
type IRequester ¶
type IRequester interface { GetIndex(context.Context) (string, error) GetSettings(context.Context) (config.IConfigSettings, error) GetPointer(context.Context) (uint64, error) GetHash(context.Context, uint64) (string, error) GetMessage(context.Context, string) (net_message.IMessage, error) PutMessage(context.Context, string) error }
func NewRequester ¶
func NewRequester(pHost string, pClient *http.Client, pParams net_message.ISettings) IRequester
Click to show internal directories.
Click to hide internal directories.