bertypush

package
v2.466.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServicePushPayloadKey = pushtypes.ServicePushPayloadKey
	StorageKeyName        = accountutils.StorageKeyName
)

Variables

This section is empty.

Functions

func NewNativeDriverCore added in v2.327.0

func NewNativeDriverCore(core zapcore.Core, enc zapcore.Encoder, nlogger LoggerDriver) zapcore.Core

Types

type Config added in v2.327.0

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

func NewConfig added in v2.327.0

func NewConfig() *Config

func (*Config) SetLogger added in v2.327.0

func (c *Config) SetLogger(l *zap.Logger)

func (*Config) SetLoggerDriver added in v2.327.0

func (c *Config) SetLoggerDriver(p LoggerDriver)

func (*Config) SetPreferredLanguages added in v2.327.0

func (c *Config) SetPreferredLanguages(lang string)

type FormatedPush added in v2.327.0

type FormatedPush pushtypes.FormatedPush

type LoggerDriver added in v2.327.0

type LoggerDriver interface {
	Print(string)
}

type NativeKeystoreDriver added in v2.331.0

type NativeKeystoreDriver interface {
	accountutils.NativeKeystore
}

type PushStandalone added in v2.327.0

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

func NewPushStandalone added in v2.327.0

func NewPushStandalone(c *Config) *PushStandalone

func (*PushStandalone) Decrypt added in v2.327.0

func (s *PushStandalone) Decrypt(rootDir string, inputB64 string, ks NativeKeystoreDriver) (*FormatedPush, error)

Jump to

Keyboard shortcuts

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