Directories ¶
Path | Synopsis |
---|---|
build
|
|
n0core
|
|
pkg/api/provisioning/virtualmachine
Package statik contains static assets.
|
Package statik contains static assets. |
pkg/datastore
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation datastore.Lock(req.Key) defer datastore.Unlock(req.Key) tx := transaction.Begin() defer tx.Rollback() // API Process tx.Done() return nil }
|
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation datastore.Lock(req.Key) defer datastore.Unlock(req.Key) tx := transaction.Begin() defer tx.Rollback() // API Process tx.Done() return nil } |
n0proto.go
|
|
deployment/v0
Package pdeployment is a reverse proxy.
|
Package pdeployment is a reverse proxy. |
iam/v0
Package piam is a reverse proxy.
|
Package piam is a reverse proxy. |
pkg/transaction
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation tx := transaction.Begin() defer tx.Rollback() // API Process if err := Process(); err != nil { return err } tx.PushRollback("Process", func() error { return InverseProcess() }) tx.Done() return nil }
|
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation tx := transaction.Begin() defer tx.Rollback() // API Process if err := Process(); err != nil { return err } tx.PushRollback("Process", func() error { return InverseProcess() }) tx.Done() return nil } |
pool/v0
Package ppool is a reverse proxy.
|
Package ppool is a reverse proxy. |
provisioning/v0
Package pprovisioning is a reverse proxy.
|
Package pprovisioning is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.