app

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 24 Imported by: 0

README

API

Watching and Notifying

Notifier actually is a watch mechanism, normally implement it in following ways:

  1. HTTP polling
  2. HTTP long polling
  3. Long link
  4. Multiplexing over one TCP connection.

TODO

  • grpc error interceptors
  • app error definitions
  • TTL reimplementation or make up these codes.

References

Documentation

Index

Constants

View Source
const (
	// MAX_TTL 2d
	MAX_TTL = 2 * 24 * 3600
)

Variables

This section is empty.

Functions

func New

func New(cfg *conf.CassemdbConfig) (*app, error)

Types

type ICoordinator

type ICoordinator interface {
	// contains filtered or unexported methods
}

ICoordinator is a interface for app API layer.

Jump to

Keyboard shortcuts

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