event-saver

command
v1.1.29 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

cloud event saver

create postgres database

create table cloudevents
(
    id              uuid default uuid_generate_v4() not null
        constraint cloudevents_pkey
            primary key,
    time            timestamp                       not null,
    type            varchar                         not null,
    topic           varchar                         not null,
    data            jsonb,
    datacontenttype varchar,
    source          varchar,
    specversion     varchar
);

alter table cloudevents
    owner to postgres;

create index time_idx
    on cloudevents (time);

grant delete, insert, references, select, trigger, truncate, update on cloudevents to plugis;

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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