Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BatchOkStr string
)
Functions ¶
func NewTestBeeServer ¶ added in v0.10.0
func NewTestBeeServer(t *testing.T, o TestServerOptions) string
Types ¶
type TestServerOptions ¶ added in v0.10.0
type TestServerOptions struct { Storer api.Storer StateStorer storage.StateStorer Resolver resolver.Interface Pss pss.Interface WsPath string WsPingPeriod time.Duration Logger log.Logger PreventRedirect bool Feeds feeds.Factory CORSAllowedOrigins []string PostageContract postagecontract.Interface StakingContract staking.Contract Post postage.Service Steward steward.Interface WsHeaders http.Header Authenticator auth.Authenticator DebugAPI bool Restricted bool DirectUpload bool Probe *api.Probe Overlay swarm.Address PublicKey ecdsa.PublicKey PSSPublicKey ecdsa.PublicKey EthereumAddress common.Address BlockTime time.Duration P2P *p2pmock.Service Pingpong pingpong.Interface TopologyOpts []topologymock.Option AccountingOpts []accountingmock.Option ChequebookOpts []chequebookmock.Option SwapOpts []swapmock.Option TransactionOpts []transactionmock.Option BatchStore postage.Storer SyncStatus func() (bool, error) BackendOpts []backendmock.Option Erc20Opts []erc20mock.Option BeeMode api.BeeNodeMode RedistributionAgent *storageincentives.Agent NodeStatus *status.Service }
Click to show internal directories.
Click to hide internal directories.