service

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

webaccel-service-go

Go Reference Tests Go Report Card

ウェブアクセラレータ向け高レベルAPIライブラリ

概要

ウェブアクセラレータのAPIをラップし、CRUD+L+Action操作を統一的な手順で行えるインターフェースを提供します。

⚠ webaccel-service-goは現在開発中です。

関連プロジェクト:

インターフェースの例:

// サイト操作の例
func (s *Service) Find(req *FindRequest) ([]*webaccel.Site, error)
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*webaccel.Site, error)

func (s *Service) Read(req *ReadRequest) (*webaccel.Site, error)
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*webaccel.Site, error)

func (s *Service) Update(req *UpdateRequest) (*webaccel.Site, error)
func (s *Service) UpdateWithContext(ctx context.Context, req *UpdateRequest) (*webaccel.Site, error)

以下のリソースに対応しています。

.
├── cache
├── site
│   └── certificate
└── usage

Installation

Use go get.

go get github.com/sacloud/webaccel-service-go

Then import the webaccel package into your own code.

import "github.com/sacloud/webaccel-service-go"

License

webaccel-service-go Copyright 2022-2025 The sacloud/webaccel-service-go authors.

This project is published under Apache 2.0 License.

Documentation

Index

Constants

View Source
const Version = "0.2.0"

Version バージョン

Variables

This section is empty.

Functions

func Services

func Services(client *webaccel.Client) []services.Service

Services サービス一覧を返す

Types

This section is empty.

Directories

Path Synopsis
acl

Jump to

Keyboard shortcuts

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