dpservice-go

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0

README

dpservice-go

Pull Request Code test PRs Welcome GitHub License

Golang bindings for the dpservice.

Development

To regenerate the golang bindings run

make clean generate

Usage

package main

import (
    "context"
    dpdkproto "github.com/ironcore-dev/dpservice-go/proto"
    "google.golang.org/grpc"
    "google.golang.org/grpc/credentials/insecure"
)

func main() {
    ctx := context.Background()
    conn, err := grpc.DialContext(ctx, "127.0.0.1", grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
    if err != nil {
    panic("aaaahh")
    }
    client := dpdkproto.NewDPDKironcoreClient(conn)
    ...
}

Contributing

We'd love to get feedback from you. Please report bugs, suggestions or post questions by opening a GitHub issue.

License

Apache-2.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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